]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/template/ptrmem2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / template / ptrmem2.C
diff --git a/gcc/testsuite/g++.dg/template/ptrmem2.C b/gcc/testsuite/g++.dg/template/ptrmem2.C
deleted file mode 100644 (file)
index 23a4ad9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// { dg-do compile }
-
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 31 Dec 2001 <nathan@codesourcery.com>
-
-// We'd tsubst a pointer to member reference
-
-struct A {};
-
-template <typename T> T A::* Foo ();
-
-void Baz ()
-{
-  Foo <int &> (); // { dg-error "no matching function" "" }
-}