Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
>());
}