Adjust so it actually tests something other than a preprocessor quirk; mark XFAIL

From-SVN: r26687
This commit is contained in:
Zack Weinberg 1999-04-28 06:46:53 +00:00
parent 0d504ef06b
commit 94ff101fbd
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
// Build don't link:
// crash test - XFAIL *-*-*
// Simplified from testcase by Christophe Boyanique <boyan@imac.u-paris2.fr>
template <class T> struct foo { foo(); };
template<class T> foo<T>::foo() {}
T // ERROR - currently an ICE
T; // ERROR - ICE - XFAIL *-*-*