diff options
author | Duncan Sands <baldrick@free.fr> | 2008-01-29 06:04:54 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-01-29 06:04:54 +0000 |
commit | b7cbab8b282335336502dc79edbd54ac4be98509 (patch) | |
tree | a772ef66a0f2e5ae11d0cf0bf9ee96699c018ce1 | |
parent | 3cecb51cb3aee1653c0c98e44883309fa60725d3 (diff) |
This would be better done as an executable test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46493 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/C++Frontend/2008-01-25-ResultIsParam.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/C++Frontend/2008-01-25-ResultIsParam.cpp b/test/C++Frontend/2008-01-25-ResultIsParam.cpp deleted file mode 100644 index eae402786b..0000000000 --- a/test/C++Frontend/2008-01-25-ResultIsParam.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// RUN: %llvmgcc %s -S -o - | not grep {@_ZN3fooC1Ev.*result} -// 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; -} |