r178143 - Add another expected note. Two errors => two notes.
Tim Northover
Tim.Northover at arm.com
Wed Mar 27 06:50:57 PDT 2013
Author: tnorthover
Date: Wed Mar 27 08:50:57 2013
New Revision: 178143
URL: http://llvm.org/viewvc/llvm-project?rev=178143&view=rev
Log:
Add another expected note. Two errors => two notes.
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=178143&r1=178142&r2=178143&view=diff
==============================================================================
--- cfe/trunk/test/Sema/asm.c (original)
+++ cfe/trunk/test/Sema/asm.c Wed Mar 27 08:50:57 2013
@@ -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'}}
More information about the cfe-commits
mailing list