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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-nondeduce1.C
blob
4aa5dbab2b099fbc904f249f7d0e33feaaf92edc
1
// { dg-do compile { target c++11 } }
2
3
template <class... T>
4
void f(T..., int, T...) { }
5
6
int main()
7
{
8
f(0);
9
f<int>(0,0,0);
10
f<int,int>(0,0,0,0,0);
11
f(0,0,0); // { dg-error "" }
12
}