forked from OSchip/llvm-project
Add another expected note. Two errors => two notes.
llvm-svn: 178143
This commit is contained in:
parent
687143557d
commit
c1ec2dbbd2
|
@ -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'}}
|
||||
|
|
Loading…
Reference in New Issue