Fix testcase to add expected note.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178122 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/asm.c b/test/Sema/asm.c
index b901e37..50c2818 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -125,7 +125,7 @@
}
// <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'}}