summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/asm.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-03-27 23:26:09 +0000
committerBill Wendling <isanbard@gmail.com>2013-03-27 23:26:09 +0000
commit55ab0c5438bd7e71fd7ad214659a3189824754c8 (patch)
tree4b7d7b48e20b540847a5f25f10215b654ca4cb71 /clang/test/Sema/asm.c
parent74e3d397102e2a5e5d9211df41226a3672e4cc62 (diff)
downloadbcm5719-llvm-55ab0c5438bd7e71fd7ad214659a3189824754c8.tar.gz
bcm5719-llvm-55ab0c5438bd7e71fd7ad214659a3189824754c8.zip
Simplify test to use a count for the number of notes expected.
llvm-svn: 178196
Diffstat (limited to 'clang/test/Sema/asm.c')
-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 2f875a69e1f..2c600854bf8 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'}} expected-note {{forward declaration of 'struct S'}}
+struct S; // expected-note 2 {{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