summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp
blob: 6003a253378847a3f56572ad67828f2519a16a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %llvmgxx %s -S

#include <set>

class A {
public:
  A();
private:
  A(const A&);
};
void B()
{
  std::set<void *, A> foo;
}
OpenPOWER on IntegriCloud