Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ttp.C
blob: 5d08d1347ad49596f840e337810e729cfda17e61 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/34101
template
<typename>
struct
A
{};
template
<
template
<typename>
class
...>
struct
B
{};
template
<
template
<typename>
class
T
>
void
foo
(
const
B
<
T
>&);
void
bar
()
{
foo
(
B
<
A
>());
}