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:
parent
117cbb307b
commit
d2060f06b5
@ -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()
|
||||
{
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user