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

16 lines
149 B
C++

// RUN: %llvmgxx %s -S
// XFAIL: darwin
#include <set>
class A {
public:
A();
private:
A(const A&);
};
void B()
{
std::set<void *, A> foo;
}