aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-03-27 13:50:57 +0000
committerTim Northover <Tim.Northover@arm.com>2013-03-27 13:50:57 +0000
commit3d91ddb9a97caf3e8950d4be6920ce8a4d308e76 (patch)
tree79b400efd355db8beba0c9e8ad90a86ae8d7fb9f
parent6ddfe4e067ce91f6077440446f069c07c0dd68e2 (diff)
Add another expected note. Two errors => two notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178143 91177308-0d34-0410-b5e6-96231b3b80d8
-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 50c28188aa..2f875a69e1 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -125,7 +125,7 @@ void test13(void) {
}
// <rdar://problem/12700799>
-struct S; // expected-note {{forward declaration of 'struct S'}}
+struct S; // expected-note {{forward declaration of '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'}}