Add another expected note. Two errors => two notes.

llvm-svn: 178143
This commit is contained in:
Tim Northover 2013-03-27 13:50:57 +00:00
parent 687143557d
commit c1ec2dbbd2
1 changed files with 1 additions and 1 deletions

View File

@ -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'}}