Add a test to make sure that vector supports incomplete types

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@201349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2014-02-13 17:56:12 +00:00
parent 117cbb307b
commit d2060f06b5

View File

@ -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()
{
}