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
/
pr34060.C
blob
f485346e71f56ec0b1e97dd11281eaeaa4d5ca83
1
// PR c++/34060
2
// { dg-do compile { target c++11 } }
3
4
template <int> struct A
5
{
6
template <typename... > struct B {};
7
template <typename... T> struct B <int, T *> {}; // { dg-error "not expanded|T" }
8
};
9
10
A<0>::B<int>b;