diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-03-27 06:45:37 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-03-27 06:45:37 +0000 |
commit | f2ff5bdef011a060994afe84131b3134c5ffd8bc (patch) | |
tree | bbed4dd8264f8b243a01909965577c29e9d3d47a /test/Sema | |
parent | d835d9496c55848981c1d9db383a0de1be160925 (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/Sema')
-rw-r--r-- | test/Sema/asm.c | 2 |
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'}} |