Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic72.C
blob: 41f83c3ce19220277209ef1031ff06fca82dc9f0 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{};
struct
B
{};
struct
C
{};
template
<
typename
...
Mixins
>
struct
mixed_up
:
public
Mixins
...
{
};
void
fA
(
A
);
void
fB
(
B
);
void
fC
(
C
);
void
g
()
{
mixed_up
<
A
,
B
,
C
>
m
;
fA
(
m
);
fB
(
m
);
fC
(
m
);
}