summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/inline-asm-validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/inline-asm-validate.c')
-rw-r--r--clang/test/Sema/inline-asm-validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/inline-asm-validate.c b/clang/test/Sema/inline-asm-validate.c
index 6fa760c8092..73335e76cd8 100644
--- a/clang/test/Sema/inline-asm-validate.c
+++ b/clang/test/Sema/inline-asm-validate.c
@@ -3,6 +3,6 @@
unsigned t, r, *p;
int foo (void) {
- __asm__ __volatile__( "stxr %w[_t], %[_r], [%[_p]]" : [_t] "=&r" (t) : [_p] "p" (p), [_r] "r" (r) : "memory"); // expected-warning{{value size does not match register size specified by the constraint and modifier}}
+ __asm__ __volatile__( "stxr %w[_t], %[_r], [%[_p]]" : [_t] "=&r" (t) : [_p] "p" (p), [_r] "r" (r) : "memory"); // expected-warning{{value size does not match register size specified by the constraint and modifier}} expected-note {{use constraint modifier "w"}}
return 1;
}
OpenPOWER on IntegriCloud