Simplify test to use a count for the number of notes expected.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178196 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/asm.c b/test/Sema/asm.c
index 2f875a6..2c60085 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -125,7 +125,7 @@
}
// <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'}}