aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Sema/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/asm.c b/test/Sema/asm.c
index b901e378cf..50c28188aa 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -125,7 +125,7 @@ void test13(void) {
}
// <rdar://problem/12700799>
-struct S;
+struct S; // expected-note {{forward declaration of 'struct S'}}
void test14(struct S *s) {
__asm("": : "a"(*s)); // expected-error {{dereference of pointer to incomplete type 'struct S'}}
__asm("": "=a" (*s) :); // expected-error {{dereference of pointer to incomplete type 'struct S'}}