repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic72.C
blob
41f83c3ce19220277209ef1031ff06fca82dc9f0
1
// { dg-do compile { target c++11 } }
2
struct A {};
3
struct B {};
4
struct C {};
5
6
template<typename... Mixins>
7
struct mixed_up : public Mixins...
8
{
9
};
10
11
void fA(A);
12
void fB(B);
13
void fC(C);
14
15
void g()
16
{
17
mixed_up<A, B, C> m;
18
fA(m);
19
fB(m);
20
fC(m);
21
}