aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-03-27 06:45:37 +0000
committerBill Wendling <isanbard@gmail.com>2013-03-27 06:45:37 +0000
commitf2ff5bdef011a060994afe84131b3134c5ffd8bc (patch)
treebbed4dd8264f8b243a01909965577c29e9d3d47a /test
parentd835d9496c55848981c1d9db383a0de1be160925 (diff)
Fix testcase to add expected note.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178122 91177308-0d34-0410-b5e6-96231b3b80d8
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'}}