From 0c5f2a3bf10dd741f6690e09fd444f3b0249452b Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 19 Aug 2011 21:51:05 +0000 Subject: [PATCH] Migrate 2009-07-16-PrivateCopyConstructor.cpp from llvm/test/FrontendC++. llvm-svn: 138098 --- .../2009-07-16-PrivateCopyConstructor.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 clang/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp 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; +}