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 | 5618d808e0e8dcdd160a4d64a861316558abf9a0 (patch) | |
| tree | ed11d41f44fec4bd920f8739fbcf933dd6552bff /llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp | |
| parent | 293324104b3f38d6c587171697876e7ffe629cec (diff) | |
| download | bcm5719-llvm-5618d808e0e8dcdd160a4d64a861316558abf9a0.tar.gz bcm5719-llvm-5618d808e0e8dcdd160a4d64a861316558abf9a0.zip | |
Add tests for fixes I committed earlier to the C++ FE.
llvm-svn: 75924
Diffstat (limited to 'llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp')
| -rw-r--r-- | llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp b/llvm/test/FrontendC++/2009-07-16-PrivateCopyConstructor.cpp new file mode 100644 index 00000000000..6003a253378 --- /dev/null +++ b/llvm/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; +} |

