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
/
variadic110.C
blob
47a9ed9a6ff5bbeead428d819e0942f11b10d97d
1
// PR c++/45698
2
// { dg-do compile { target c++11 } }
3
4
template <class... Ts> struct tuple { };
5
6
template<class... Ts>
7
struct A {
8
template<typename T> struct N { };
9
tuple<N<Ts>...> tup;
10
};
11
12
int main()
13
{
14
A<int, double> a;
15
}