X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fttp3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fttp3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=fe9bd9eb3821cc0cbcc32977a95f347b0c8d8fd1;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/template/ttp3.C b/gcc/testsuite/g++.dg/template/ttp3.C deleted file mode 100644 index fe9bd9eb..00000000 --- a/gcc/testsuite/g++.dg/template/ttp3.C +++ /dev/null @@ -1,26 +0,0 @@ -// { dg-do compile } - -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 29 Dec 2001 - -// PR 5213. We failed to spot that class List was a template, rather -// than a non-template or specialization - - -template class vector { }; - -class OUTER { - public: - template - class List { }; - - vector data; // { dg-error "argument is required|ISO C" "" } -}; - -template -class List { }; // { dg-bogus "previous declaration" "" { xfail *-*-* } } - -// This next line should just do a lookup of 'class List', and then -// get a type/value mismatch. Instead we try and push 'class List' -// into the global namespace and get a redeclaration error. -vector data; // { dg-bogus "`struct List' redeclared|type/value mismatch" "" { xfail *-*-* } }