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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
default2.C
blob
51534b8876d25d5e2bfc7be690d4d471783f3cf2
1
// PR c++/16829
2
// { dg-do compile }
3
4
template<typename T> void foo(T, int = 0, int) {} // { dg-error "default" }
5
6
void bar()
7
{
8
foo(0);
9
}