Migrate 2009-07-16-PrivateCopyConstructor.cpp from llvm/test/FrontendC++.

llvm-svn: 138098
This commit is contained in:
Eric Christopher 2011-08-19 21:51:05 +00:00
parent 69d6c3d31a
commit 0c5f2a3bf1
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
// RUN: %clang_cc1 -emit-llvm %s -o -
// XFAIL: darwin
#include <set>
class A {
public:
A();
private:
A(const A&);
};
void B()
{
std::set<void *, A> foo;
}