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
/
pr32126.C
blob
dac1da563ae13ad7f4386aa1a7505b59f7f99613
1
// { dg-do compile { target c++11 } }
2
template<typename...> struct A;
3
4
template<typename...T> struct A<T> // { dg-error "not expanded|T|" }
5
{
6
static int i;
7
};
8
9
A<char> a; // { dg-error "incomplete" }
10
A<int> b; // { dg-error "incomplete" }