mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 03:50:33 +08:00
Migrate 2009-07-16-PrivateCopyConstructor.cpp from llvm/test/FrontendC++.
llvm-svn: 138098
This commit is contained in:
15
clang/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp
Normal file
15
clang/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user