]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/template6.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template6.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template6.C b/gcc/testsuite/g++.old-deja/g++.jason/template6.C
deleted file mode 100644 (file)
index c42426a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// PRMS Id: 4656
-// Testcase for use of member pointers in template resolution
-
-template <class T> class A {
- public:
-  A() : a(1) {}
-  T a;
-};
-
-template <class T>
-int foo (T A<int>::*p)
-{
-  return 0;
-}
-int main()
-{
-  int A<int>::*pm = &A<int>::a;        // gets bogus error - failed temp resolution
-  foo (pm);
-  return 0;
-}