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