[cfe-commits] r123914 - in /cfe/trunk/test/SemaCXX: PR9007.cpp crashes.cpp
Rafael Espindola
rafael.espindola at gmail.com
Thu Jan 20 08:11:21 PST 2011
Author: rafael
Date: Thu Jan 20 10:11:21 2011
New Revision: 123914
URL: http://llvm.org/viewvc/llvm-project?rev=123914&view=rev
Log:
Merge test.
Removed:
cfe/trunk/test/SemaCXX/PR9007.cpp
Modified:
cfe/trunk/test/SemaCXX/crashes.cpp
Removed: cfe/trunk/test/SemaCXX/PR9007.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/PR9007.cpp?rev=123913&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/PR9007.cpp (original)
+++ cfe/trunk/test/SemaCXX/PR9007.cpp (removed)
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only %s
-struct bar {
- enum xxx {
- yyy = sizeof(struct foo*)
- };
- foo *xxx();
-};
Modified: cfe/trunk/test/SemaCXX/crashes.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/crashes.cpp?rev=123914&r1=123913&r2=123914&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/crashes.cpp (original)
+++ cfe/trunk/test/SemaCXX/crashes.cpp Thu Jan 20 10:11:21 2011
@@ -68,3 +68,12 @@
callback<void(const int&)> op;
}
}
+
+namespace PR9007 {
+ struct bar {
+ enum xxx {
+ yyy = sizeof(struct foo*)
+ };
+ foo *xxx();
+};
+}
More information about the cfe-commits
mailing list