Skip to content

Commit 4d5b57c

Browse files
committed
Add some test failures to report
1 parent b8d02da commit 4d5b57c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clang/test/Sema/asm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void f(void) {
1515
asm ("foo\n" : "=a" (i) : "[symbolic_name]" (i)); // expected-error {{invalid input constraint '[symbolic_name]' in asm}}
1616

1717
asm ("foo\n" : : "" (i)); // expected-error {{invalid input constraint '' in asm}}
18-
asm ("foo\n" : "=a" (i) : "" (i)); // expected-error {{invalid input constraint '' in asm}}
18+
asm ("foo\n" : "=a" (i) : "" (i)); // expected-error {{this will fail}}
1919
}
2020

2121
void clobbers(void) {

llvm/test/MC/AArch64/label-arithmetic-diags-elf.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,4 @@ end_across_sec:
8585
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: Cannot represent a difference across sections
8686
// CHECK-NEXT: cmp w0, #(sec_y - sec_x)
8787
// CHECK-NEXT: ^
88+
// CHECK-NEXT: this will fail

0 commit comments

Comments
 (0)