From 3d91ddb9a97caf3e8950d4be6920ce8a4d308e76 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Wed, 27 Mar 2013 13:50:57 +0000 Subject: [PATCH] Add another expected note. Two errors => two notes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178143 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Sema/asm.c b/test/Sema/asm.c index 50c28188aa..2f875a69e1 100644 --- a/test/Sema/asm.c +++ b/test/Sema/asm.c @@ -125,7 +125,7 @@ void test13(void) { } // -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'}} -- 2.40.0