aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/g++.dg/diagnostic/method1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/testsuite/g++.dg/diagnostic/method1.C')
-rw-r--r--gcc-4.8/gcc/testsuite/g++.dg/diagnostic/method1.C20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc-4.8/gcc/testsuite/g++.dg/diagnostic/method1.C b/gcc-4.8/gcc/testsuite/g++.dg/diagnostic/method1.C
deleted file mode 100644
index 0e7c58092..000000000
--- a/gcc-4.8/gcc/testsuite/g++.dg/diagnostic/method1.C
+++ /dev/null
@@ -1,20 +0,0 @@
-// PR c++/44627
-// { dg-do compile }
-
-struct A
-{
- A *foo ();
-};
-
-template <class T>
-void
-bar ()
-{
- A::foo ().anything; // { dg-error "without object" }
-}
-
-void
-baz ()
-{
- bar <int> ();
-}