[cfe-commits] r138098 - /cfe/trunk/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp
Eli Friedman
eli.friedman at gmail.com
Fri Aug 19 15:03:40 PDT 2011
On Fri, Aug 19, 2011 at 2:51 PM, Eric Christopher <echristo at apple.com> wrote:
> Author: echristo
> Date: Fri Aug 19 16:51:05 2011
> New Revision: 138098
>
> URL: http://llvm.org/viewvc/llvm-project?rev=138098&view=rev
> Log:
> Migrate 2009-07-16-PrivateCopyConstructor.cpp from llvm/test/FrontendC++.
>
> Added:
> cfe/trunk/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp
>
> Added: cfe/trunk/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp?rev=138098&view=auto
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp (added)
> +++ cfe/trunk/test/CodeGenCXX/2009-07-16-PrivateCopyConstructor.cpp Fri Aug 19 16:51:05 2011
> @@ -0,0 +1,15 @@
> +// RUN: %clang_cc1 -emit-llvm %s -o -
> +// XFAIL: darwin
Err, what?
-Eli
> +#include <set>
> +
> +class A {
> +public:
> + A();
> +private:
> + A(const A&);
> +};
> +void B()
> +{
> + std::set<void *, A> foo;
> +}
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list