r178122 - Fix testcase to add expected note.
Bill Wendling
isanbard at gmail.com
Tue Mar 26 23:45:37 PDT 2013
Author: void
Date: Wed Mar 27 01:45:37 2013
New Revision: 178122
URL: http://llvm.org/viewvc/llvm-project?rev=178122&view=rev
Log:
Fix testcase to add expected note.
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=178122&r1=178121&r2=178122&view=diff
==============================================================================
--- cfe/trunk/test/Sema/asm.c (original)
+++ cfe/trunk/test/Sema/asm.c Wed Mar 27 01:45:37 2013
@@ -125,7 +125,7 @@ void test13(void) {
}
// <rdar://problem/12700799>
-struct S;
+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