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
/
vt-35243.C
blob
e38d3397831b517747b0a20e7588460676b42374
1
// { dg-do compile { target c++11 } }
2
struct A {};
3
4
template<typename... T> struct B : T...
5
{
6
B() : T(x)... {} // { dg-error "not declared" }
7
};
8
9
B<A> b;