Author: baldrick Date: Tue Jan 29 00:04:54 2008 New Revision: 46493 URL: http://llvm.org/viewvc/llvm-project?rev=46493&view=rev Log: This would be better done as an executable test.
Removed: llvm/trunk/test/C++Frontend/2008-01-25-ResultIsParam.cpp Removed: llvm/trunk/test/C++Frontend/2008-01-25-ResultIsParam.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/C%2B%2BFrontend/2008-01-25-ResultIsParam.cpp?rev=46492&view=auto ============================================================================== --- llvm/trunk/test/C++Frontend/2008-01-25-ResultIsParam.cpp (original) +++ llvm/trunk/test/C++Frontend/2008-01-25-ResultIsParam.cpp (removed) @@ -1,23 +0,0 @@ -// RUN: %llvmgcc %s -S -o - | not grep [EMAIL PROTECTED] -// PR1942 - -class foo -{ -public: - int a; - int b; - - foo(void) : a(0), b(0) {} - - foo(int aa, int bb) : a(aa), b(bb) {} - - const foo operator+(const foo& in) const; - -}; - -const foo foo::operator+(const foo& in) const { - foo Out; - Out.a = a + in.a; - Out.b = b + in.b; - return Out; -} _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits