This would be better done as an executable test.
authorDuncan Sands <baldrick@free.fr>
Tue, 29 Jan 2008 06:04:54 +0000 (06:04 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 29 Jan 2008 06:04:54 +0000 (06:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46493 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2008-01-25-ResultIsParam.cpp [deleted file]

diff --git a/test/C++Frontend/2008-01-25-ResultIsParam.cpp b/test/C++Frontend/2008-01-25-ResultIsParam.cpp
deleted file mode 100644 (file)
index eae4027..0000000
+++ /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;
-}