r178122 - Fix testcase to add expected note.

Renato Golin renato.golin at linaro.org
Wed Mar 27 03:49:16 PDT 2013


Hi Bill,

Looks like it needs another expected note ...  :-)

http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/6322/steps/check-all/logs/Clang%20%3A%3A%20Sema__asm.c

Cheers,
Renato
On 27 Mar 2013 06:47, "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/caa9e237/attachment.html>


More information about the cfe-commits mailing list