repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg10.C
blob
02f16b69950765c0272effff75e1221e88433b5b
1
// Build don't link:
2
// Origin: Ian Nixon <ian@tharas.com>
3
4
struct A {};
5
6
template<class M, class T = A, class C> class Tc {}; // ERROR - no defarg
7
8
int main ()
9
{
10
Tc<int> oops; // ERROR - using template
11
}