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
c: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic33.C
blob
bd25b8493878321a66c035021c8da97fec64c989
1
// { dg-do compile { target c++11 } }
2
void print_all() {}
3
4
template<typename T, typename... Rest>
5
void print_all(const T& t, const Rest&... rest)
6
{
7
print_all(rest...);
8
}
9
10
void f()
11
{
12
print_all();
13
print_all(1);
14
print_all(1, 3.14159);
15
print_all("Hello, World!", 17, 3.14159);
16
}