aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup6.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/lookup6.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/lookup6.C25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup6.C b/gcc/testsuite/g++.old-deja/g++.other/lookup6.C
deleted file mode 100644
index 08f5ac521ed..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/lookup6.C
+++ /dev/null
@@ -1,25 +0,0 @@
-int f(int i)
-{
- struct C {
- int i;
- C () : i(1) {}
- int f() {
- struct D {
- int i;
- D () : i(2) {}
- int g() { return i; }
- } d;
-
- return d.g();
- }
- } c;
-
- return c.f();
-}
-
-
-int main()
-{
- if (f(0) != 2)
- return 1;
-}