[cfe-commits] r123873 - /cfe/trunk/test/SemaCXX/PR9007.cpp

Chris Lattner clattner at apple.com
Wed Jan 19 23:01:54 PST 2011


On Jan 19, 2011, at 6:57 PM, Rafael Espindola wrote:

> Author: rafael
> Date: Wed Jan 19 20:57:51 2011
> New Revision: 123873
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=123873&view=rev
> Log:
> Turns out that the previous commit also fixes this :-)

Cool.  Can this be merged into another .cpp file? :)

-Chris

> 
> Added:
>    cfe/trunk/test/SemaCXX/PR9007.cpp
> 
> Added: cfe/trunk/test/SemaCXX/PR9007.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/PR9007.cpp?rev=123873&view=auto
> ==============================================================================
> --- cfe/trunk/test/SemaCXX/PR9007.cpp (added)
> +++ cfe/trunk/test/SemaCXX/PR9007.cpp Wed Jan 19 20:57:51 2011
> @@ -0,0 +1,7 @@
> +// RUN: %clang_cc1 -fsyntax-only  %s
> +struct bar {
> +  enum xxx {
> +    yyy = sizeof(struct foo*)
> +  };
> +  foo *xxx();
> +};
> 
> 
> _______________________________________________
> 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