From: Mark Mitchell Date: Fri, 28 Aug 1998 18:00:56 +0000 (+0000) Subject: New test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21d886ac9bba8be33bc0717266a30116b4089e69;p=gcc.git New test From-SVN: r22065 --- diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename11.C b/gcc/testsuite/g++.old-deja/g++.pt/typename11.C new file mode 100644 index 00000000000..21486433c51 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/typename11.C @@ -0,0 +1,16 @@ +// Build don't link: +// Special g++ Options: +// excess errors test - XFAIL *-*-* + +template +struct S { + struct X {}; +}; + +template +void f(T, U) +{ + S::X(); +} + +template void f(int, double);