projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6871435
)
Add another expected note. Two errors => two notes.
author
Tim Northover
<Tim.Northover@arm.com>
Wed, 27 Mar 2013 13:50:57 +0000
(13:50 +0000)
committer
Tim Northover
<Tim.Northover@arm.com>
Wed, 27 Mar 2013 13:50:57 +0000
(13:50 +0000)
llvm-svn: 178143
clang/test/Sema/asm.c
patch
|
blob
|
history
diff --git
a/clang/test/Sema/asm.c
b/clang/test/Sema/asm.c
index
50c2818
..
2f875a6
100644
(file)
--- a/
clang/test/Sema/asm.c
+++ b/
clang/test/Sema/asm.c
@@
-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'}}