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
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic125.C
blob
89fd6b00d14f39ff655c27e514f77d227ee3aea8
1
// PR c++/52380
2
// { dg-do compile { target c++11 } }
3
4
template<typename T>
5
struct S
6
{
7
template<typename U>
8
struct Unary // Line 5
9
{};
10
11
template<unsigned, typename... Args>
12
struct Dispatch // Line 9
13
: public Unary<Args...>
14
{};
15
16
template<typename... Args>
17
struct Variadic
18
: public Dispatch<sizeof...(Args), Args...>
19
{};
20
};
21
22
int main()
23
{
24
S<void>::Variadic<void> z;
25
}