]> granicus.if.org Git - clang/commitdiff
Simplify test to use a count for the number of notes expected.
authorBill Wendling <isanbard@gmail.com>
Wed, 27 Mar 2013 23:26:09 +0000 (23:26 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 27 Mar 2013 23:26:09 +0000 (23:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178196 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/asm.c

index 2f875a69e1f56f872e1b8373770e9f67430fcd3b..2c600854bf8bb33569838b0ed1c1f83ce3c4fabc 100644 (file)
@@ -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'}}