New test
From-SVN: r28157
This commit is contained in:
parent
a1c6afb002
commit
bb740ce98a
1 changed files with 11 additions and 0 deletions
11
gcc/testsuite/g++.old-deja/g++.pt/defarg10.C
Normal file
11
gcc/testsuite/g++.old-deja/g++.pt/defarg10.C
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Build don't link:
|
||||
// Origin: Ian Nixon <ian@tharas.com>
|
||||
|
||||
struct A {};
|
||||
|
||||
template<class M, class T = A, class C> class Tc {}; // ERROR - no defarg
|
||||
|
||||
int main ()
|
||||
{
|
||||
Tc<int> oops; // ERROR - using template
|
||||
}
|
Loading…
Add table
Reference in a new issue