diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-07-16 13:35:42 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-07-16 13:35:42 +0000 |
commit | 3f2122bea82d2dc4331abcc4315e0143060b76c5 (patch) | |
tree | d3ce79c8a5ad7d7a700f74ec513ddddcdf902f29 /test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp | |
parent | e0167c1d5a5418dbcd61716164688bdd21a716ac (diff) | |
download | llvm-3f2122bea82d2dc4331abcc4315e0143060b76c5.tar.gz llvm-3f2122bea82d2dc4331abcc4315e0143060b76c5.tar.bz2 llvm-3f2122bea82d2dc4331abcc4315e0143060b76c5.tar.xz |
Add tests for fixes I committed earlier to the C++ FE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp')
-rw-r--r-- | test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp b/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp new file mode 100644 index 0000000000..6003a25337 --- /dev/null +++ b/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp @@ -0,0 +1,14 @@ +// RUN: %llvmgxx %s -S + +#include <set> + +class A { +public: + A(); +private: + A(const A&); +}; +void B() +{ + std::set<void *, A> foo; +} |