Author: marshall
Date: Thu Feb 13 11:56:12 2014
New Revision: 201349

URL: http://llvm.org/viewvc/llvm-project?rev=201349&view=rev
Log:
Add a test to make sure that vector supports incomplete types

Added:
    
libcxx/trunk/test/containers/sequences/vector/vector.cons/default.recursive.pass.cpp

Added: 
libcxx/trunk/test/containers/sequences/vector/vector.cons/default.recursive.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/containers/sequences/vector/vector.cons/default.recursive.pass.cpp?rev=201349&view=auto
==============================================================================
--- 
libcxx/trunk/test/containers/sequences/vector/vector.cons/default.recursive.pass.cpp
 (added)
+++ 
libcxx/trunk/test/containers/sequences/vector/vector.cons/default.recursive.pass.cpp
 Thu Feb 13 11:56:12 2014
@@ -0,0 +1,23 @@
+//===----------------------------------------------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <vector>
+// class vector
+// vector();
+
+#include <vector>
+
+struct X
+{
+    std::vector<X> q;
+};
+
+int main()
+{
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to