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
/
variadic139.C
blob
a1c64f30f6c279be81302bfbf9309b49ad9f3b98
1
// Origin: PR c++/53609
2
// { dg-do compile { target c++11 } }
3
4
template<class...I> struct List {};
5
template<int T> struct Z {static const int value = T;};
6
template<int...T> using LZ = List<Z<T>...>;
7
8
template<class...U>
9
struct F
10
{
11
using N = LZ<U::value...>;
12
};
13
14
F<Z<1>, Z<2> >::N A;