diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template6.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template6.C | 20 |
1 files changed, 0 insertions, 20 deletions
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 index c42426a1908..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/template6.C +++ /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; -} |