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
/
pr34054.C
blob
7a8b3249701f417dd906659fa04500afba3640c6
1
// PR c++/34054
2
// { dg-do compile { target c++11 } }
3
4
template<typename... T> T foo() { return T(); } // { dg-error "not expanded|T" }