summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp
blob: 96e85b24767fee8a101f1a6cbf466ab0246801bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %llvmgxx %s -S
// XFAIL: darwin

#include <set>

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