File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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
2121void clobbers (void ) {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments