<p dir="ltr">Hi Bill, </p>
<p dir="ltr">Looks like it needs another expected note ... :-) </p>
<p dir="ltr"><a href="http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/6322/steps/check-all/logs/Clang%20%3A%3A%20Sema__asm.c">http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/6322/steps/check-all/logs/Clang%20%3A%3A%20Sema__asm.c</a></p>
<p dir="ltr">Cheers, <br>
Renato </p>
<div class="gmail_quote">On 27 Mar 2013 06:47, "Bill Wendling" <<a href="mailto:isanbard@gmail.com">isanbard@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: void<br>
Date: Wed Mar 27 01:45:37 2013<br>
New Revision: 178122<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=178122&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=178122&view=rev</a><br>
Log:<br>
Fix testcase to add expected note.<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=178122&r1=178121&r2=178122&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/asm.c?rev=178122&r1=178121&r2=178122&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/Sema/asm.c (original)<br>
+++ cfe/trunk/test/Sema/asm.c Wed Mar 27 01:45:37 2013<br>
@@ -125,7 +125,7 @@ void test13(void) {<br>
}<br>
<br>
// <rdar://problem/12700799><br>
-struct S;<br>
+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>