r178196 - Simplify test to use a count for the number of notes expected.

Bill Wendling isanbard at gmail.com
Wed Mar 27 16:26:10 PDT 2013


Author: void
Date: Wed Mar 27 18:26:09 2013
New Revision: 178196

URL: http://llvm.org/viewvc/llvm-project?rev=178196&view=rev
Log:
Simplify test to use a count for the number of notes expected.

Modified:
    cfe/trunk/test/Sema/asm.c

Modified: cfe/trunk/test/Sema/asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/asm.c?rev=178196&r1=178195&r2=178196&view=diff
==============================================================================
--- cfe/trunk/test/Sema/asm.c (original)
+++ cfe/trunk/test/Sema/asm.c Wed Mar 27 18:26:09 2013
@@ -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'}}





More information about the cfe-commits mailing list