aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/other/dtor1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/other/dtor1.C')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/other/dtor1.C17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/other/dtor1.C b/gcc-4.8.1/gcc/testsuite/g++.dg/other/dtor1.C
deleted file mode 100644
index 90ca38007..000000000
--- a/gcc-4.8.1/gcc/testsuite/g++.dg/other/dtor1.C
+++ /dev/null
@@ -1,17 +0,0 @@
-/* { dg-do compile } */
-// PR C++/30303
-// This used to ICE because we did not return NULL
-// in grokfndecl when an error happened.
-
-struct Ifoo
-{
-virtual ~Ifoo(){}
-};
-struct foo : Ifoo
-{
- foo(){};
-};
-foo::~foo() // { dg-error "definition of implicitly-declared" }
-{
-delete this;
-}