New test
From-SVN: r22065
This commit is contained in:
parent
479781c513
commit
21d886ac9b
16
gcc/testsuite/g++.old-deja/g++.pt/typename11.C
Normal file
16
gcc/testsuite/g++.old-deja/g++.pt/typename11.C
Normal file
@ -0,0 +1,16 @@
|
||||
// Build don't link:
|
||||
// Special g++ Options:
|
||||
// excess errors test - XFAIL *-*-*
|
||||
|
||||
template <class T, int I>
|
||||
struct S {
|
||||
struct X {};
|
||||
};
|
||||
|
||||
template <class T, class U, int I>
|
||||
void f(T, U)
|
||||
{
|
||||
S<T, I>::X();
|
||||
}
|
||||
|
||||
template void f<int, double, 3>(int, double);
|
Loading…
Reference in New Issue
Block a user