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
/
variadic108.C
blob
2e396c6f5a1d1d2011642800c1911bbf70a260a1
1
// PR c++/48736
2
// { dg-do compile { target c++11 } }
3
4
template<class T>
5
T&& create();
6
7
template<class T, class... Args,
8
class = decltype(T{create<Args>()...}) // Line X
9
>
10
char f(int);