[cfe-commits] r123873 - /cfe/trunk/test/SemaCXX/PR9007.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Jan 19 18:57:52 PST 2011
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 :-)
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();
+};
More information about the cfe-commits
mailing list