aboutsummaryrefslogtreecommitdiff
path: root/test/Sema
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-03-27 23:26:09 +0000
committerBill Wendling <isanbard@gmail.com>2013-03-27 23:26:09 +0000
commitcbd739410be5ecd8161cab1caba54df8cf15b02d (patch)
treed8988904b7b5b24c818860df233342fdcaf50f89 /test/Sema
parent508764518dd54eb7be82b0474cb42ef8dbe9ebd3 (diff)
Simplify test to use a count for the number of notes expected.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema')
-rw-r--r--test/Sema/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/asm.c b/test/Sema/asm.c
index 2f875a69e1..2c600854bf 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -125,7 +125,7 @@ void test13(void) {
}
// <rdar://problem/12700799>
-struct S; // expected-note {{forward declaration of 'struct S'}} expected-note {{forward declaration of 'struct S'}}
+struct S; // expected-note 2 {{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'}}