<div dir="ltr">FYI: You can also saw // expected-note 2 {{<span style="font-family:arial,sans-serif;font-size:13px">forward declaration of 'struct S'}}</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Mar 27, 2013 at 6:50 AM, Tim Northover <span dir="ltr"><<a href="mailto:Tim.Northover@arm.com" target="_blank">Tim.Northover@arm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: tnorthover<br>
Date: Wed Mar 27 08:50:57 2013<br>
New Revision: 178143<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=178143&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=178143&view=rev</a><br>
Log:<br>
Add another expected note. Two errors => two notes.<br>
<br>
Modified:<br>
    cfe/trunk/test/Sema/asm.c<br>
<br>
Modified: cfe/trunk/test/Sema/asm.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/asm.c?rev=178143&r1=178142&r2=178143&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/asm.c?rev=178143&r1=178142&r2=178143&view=diff</a><br>

==============================================================================<br>
--- cfe/trunk/test/Sema/asm.c (original)<br>
+++ cfe/trunk/test/Sema/asm.c Wed Mar 27 08:50:57 2013<br>
@@ -125,7 +125,7 @@ void test13(void) {<br>
 }<br>
<br>
 // <rdar://problem/12700799><br>
-struct S;  // expected-note {{forward declaration of 'struct S'}}<br>
+struct S;  // expected-note {{forward declaration of 'struct S'}} expected-note {{forward declaration of 'struct S'}}<br>
 void test14(struct S *s) {<br>
   __asm("": : "a"(*s)); // expected-error {{dereference of pointer to incomplete type 'struct S'}}<br>
   __asm("": "=a" (*s) :); // expected-error {{dereference of pointer to incomplete type 'struct S'}}<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>