summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash28.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/template/crash28.C')
-rw-r--r--gcc/testsuite/g++.dg/template/crash28.C13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/testsuite/g++.dg/template/crash28.C b/gcc/testsuite/g++.dg/template/crash28.C
deleted file mode 100644
index e8b2bbb2985..00000000000
--- a/gcc/testsuite/g++.dg/template/crash28.C
+++ /dev/null
@@ -1,13 +0,0 @@
-// PR c++/18445
-
-struct a
-{
- int what();
-};
-void g(void*);
-template<class T>
-void f()
-{
- a ex;
- g(ex.what); // { dg-error "" }
-}