diff --git a/clang/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp b/clang/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp new file mode 100644 index 000000000000..978fa1932f48 --- /dev/null +++ b/clang/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp @@ -0,0 +1,15 @@ +// RUN: %clang_cc1 -emit-llvm %s -o - +// XFAIL: darwin + +#include + +class A { +public: + A(); +private: + A(const A&); +}; +void B() +{ + std::set foo; +}