[cfe-commits] r102292 - /cfe/trunk/test/SemaCXX/constructor-initializer.cpp

Anders Carlsson andersca at mac.com
Sat Apr 24 18:00:05 PDT 2010


Author: andersca
Date: Sat Apr 24 20:00:05 2010
New Revision: 102292

URL: http://llvm.org/viewvc/llvm-project?rev=102292&view=rev
Log:
Land this test.

Modified:
    cfe/trunk/test/SemaCXX/constructor-initializer.cpp

Modified: cfe/trunk/test/SemaCXX/constructor-initializer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/constructor-initializer.cpp?rev=102292&r1=102291&r2=102292&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/constructor-initializer.cpp (original)
+++ cfe/trunk/test/SemaCXX/constructor-initializer.cpp Sat Apr 24 20:00:05 2010
@@ -183,9 +183,24 @@
 
 }
 
-namespace test1 {
+namespace Test1 {
   struct A {
     enum Kind { Foo } Kind;
     A() : Kind(Foo) {}
   };
 }
+
+namespace Test2 {
+
+struct A { 
+  A(const A&);
+};
+
+struct B : virtual A { };
+struct C : A, B { };
+
+C f(C c) {
+  return c;
+}
+
+}





More information about the cfe-commits mailing list