summaryrefslogtreecommitdiffstats
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
commitc1ec2dbbd24bf0b8d1d2a8480591e89bd1c83e2f (patch)
tree0b1b18fff6ba173bfc2b7c2f38a4132919da7f22
parent687143557df6cae498df95cd3bc41020106af2cd (diff)
downloadbcm5719-llvm-c1ec2dbbd24bf0b8d1d2a8480591e89bd1c83e2f.tar.gz
bcm5719-llvm-c1ec2dbbd24bf0b8d1d2a8480591e89bd1c83e2f.zip
Add another expected note. Two errors => two notes.
llvm-svn: 178143
-rw-r--r--clang/test/Sema/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/asm.c b/clang/test/Sema/asm.c
index 50c28188aa2..2f875a69e1f 100644
--- a/clang/test/Sema/asm.c
+++ b/clang/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'}}
OpenPOWER on IntegriCloud