summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-03-27 06:45:37 +0000
committerBill Wendling <isanbard@gmail.com>2013-03-27 06:45:37 +0000
commit953c701b8b96aad1078cee68df377f47ebfb61d5 (patch)
tree5af0f2cddb3c5a93920b6dc723759b32dbc7463a
parent573fc28d642524142ceb8d486af038b2f9206f51 (diff)
downloadbcm5719-llvm-953c701b8b96aad1078cee68df377f47ebfb61d5.tar.gz
bcm5719-llvm-953c701b8b96aad1078cee68df377f47ebfb61d5.zip
Fix testcase to add expected note.
llvm-svn: 178122
-rw-r--r--clang/test/Sema/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/asm.c b/clang/test/Sema/asm.c
index b901e378cf3..50c28188aa2 100644
--- a/clang/test/Sema/asm.c
+++ b/clang/test/Sema/asm.c
@@ -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'}}
OpenPOWER on IntegriCloud