aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/temporary7.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/temporary7.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/temporary7.C35
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/temporary7.C b/gcc/testsuite/g++.old-deja/g++.jason/temporary7.C
deleted file mode 100644
index 8b91fe1324d..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/temporary7.C
+++ /dev/null
@@ -1,35 +0,0 @@
-// PRMS ID: 7304
-
-struct V {
- int n;
- V() : n(0) { }
- V(int x) : n(x) { }
-};
-
-V baz(const V &x)
-{
- return x;
-}
-
-int bar(V v1, V v2, V v3)
-{
- return v1.n;
-}
-
-struct A {
- A(): n(7) { }
- int foo();
- V n;
-};
-
-int A::foo()
-{
- V v1, v2;
- return bar(n, baz(v1), v2);
-}
-
-int main()
-{
- A a;
- return (a.foo() != 7);
-}