X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fptrmem2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fptrmem2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=23a4ad9380b4cb012c02189d33d3f716b177df6f;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/template/ptrmem2.C b/gcc/testsuite/g++.dg/template/ptrmem2.C deleted file mode 100644 index 23a4ad93..00000000 --- a/gcc/testsuite/g++.dg/template/ptrmem2.C +++ /dev/null @@ -1,15 +0,0 @@ -// { dg-do compile } - -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 31 Dec 2001 - -// We'd tsubst a pointer to member reference - -struct A {}; - -template T A::* Foo (); - -void Baz () -{ - Foo (); // { dg-error "no matching function" "" } -}