[cfe-commits] r61348 - /cfe/trunk/test/SemaCXX/pr-3188.cpp

Chris Lattner clattner at apple.com
Mon Dec 22 17:29:18 PST 2008


On Dec 22, 2008, at 1:43 PM, Sebastian Redl wrote:

> Author: cornedbee
> Date: Mon Dec 22 15:43:13 2008
> New Revision: 61348
>
> URL: http://llvm.org/viewvc/llvm-project?rev=61348&view=rev
> Log:
> Guard against the return of PR3188

Hi Sebastian,

Can this test be merged into some other .cpp file and use -verify?   
Typically we put bugs into larger .cpp files and add "// PR3118" to  
the file.  For example, see test/Sema/init.c

-Chris

>
>
> Added:
>    cfe/trunk/test/SemaCXX/pr-3188.cpp
>
> Added: cfe/trunk/test/SemaCXX/pr-3188.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/pr-3188.cpp?rev=61348&view=auto
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- cfe/trunk/test/SemaCXX/pr-3188.cpp (added)
> +++ cfe/trunk/test/SemaCXX/pr-3188.cpp Mon Dec 22 15:43:13 2008
> @@ -0,0 +1,3 @@
> +// RUN: clang -fsyntax-only %s
> +struct x;
> +extern x a;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list