aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/virtual2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/virtual2.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/virtual2.C19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/virtual2.C b/gcc/testsuite/g++.old-deja/g++.other/virtual2.C
deleted file mode 100644
index a3ebbcd40e1..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/virtual2.C
+++ /dev/null
@@ -1,19 +0,0 @@
-struct B
-{
- virtual int f() volatile
- { return 0; }
-};
-
-
-struct D : public B
-{
- virtual int f()
- { return 1; }
-};
-
-int main()
-{
- volatile D d;
- volatile B& b = d;
- return b.f();
-}