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
/
variadic142.C
blob
83b2429a5a149a588846f91eb3d2a857dcf9bf26
1
// Core 1609
2
// { dg-require-effective-target c++11 }
3
4
template<typename... T>
5
void f2(int a = 0, T... b, int c = 1);
6
7
int main(){
8
f2<>(); // parameter a has the value 0 and parameter c has the value 1
9
}