forked from OSchip/llvm-project
Migrate 2009-07-16-PrivateCopyConstructor.cpp from llvm/test/FrontendC++.
llvm-svn: 138098
This commit is contained in:
parent
69d6c3d31a
commit
0c5f2a3bf1
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue