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
* c-common.c (get_priority): Add check for
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg10.C
blob
bd830522bc6945dbda77a0d06c2e752cab2c6809
1
// { dg-do assemble }
2
// Origin: Ian Nixon <ian@tharas.com>
3
4
struct A {};
5
6
template<class M, class T = A, class C> class Tc {}; // { dg-error "" } no defarg
7
8
int main ()
9
{
10
Tc<int> oops; // { dg-error "" } using template
11
}