r178122 - Fix testcase to add expected note.
Alexander Zinenko
ftynse at gmail.com
Wed Mar 27 03:51:05 PDT 2013
Hi Bill,
the build on debian-fast bot is still broken.
+struct S; // expected-note {{forward declaration of 'struct S'}}
should expect 2 notes.
On 27 March 2013 08:45, Bill Wendling <isanbard at gmail.com> wrote:
> Author: void
> Date: Wed Mar 27 01:45:37 2013
> New Revision: 178122
>
> URL: http://llvm.org/viewvc/llvm-project?rev=178122&view=rev
> Log:
> Fix testcase to add expected note.
>
> Modified:
> cfe/trunk/test/Sema/asm.c
>
> Modified: cfe/trunk/test/Sema/asm.c
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/asm.c?rev=178122&r1=178121&r2=178122&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Sema/asm.c (original)
> +++ cfe/trunk/test/Sema/asm.c Wed Mar 27 01:45:37 2013
> @@ -125,7 +125,7 @@ void test13(void) {
> }
>
> // <rdar://problem/12700799>
> -struct S;
> +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'}}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130327/92babe0a/attachment.html>
More information about the cfe-commits
mailing list