* g++.old-deja/g++.pt/explicit76.C: New test.

From-SVN: r23917
This commit is contained in:
Alexandre Oliva 1998-11-26 21:22:51 +00:00
parent 91910750a0
commit 308a214ae7
2 changed files with 14 additions and 229 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,11 @@
// Build don't link:
// Based on bug report by Simon A. Crase <s.crase@ieee.org>
// crash test - XFAIL *-*-*
struct foo {
template <class T> void bar();
};
template void foo::bar<void>(); // gets bogus error - ICE - XFAIL *-*-*