repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
elision3.C
blob
7c5c8b9f0b9ffe7f357512768fb710e15851cb7f
1
// PR c++/84441
2
// { dg-do compile { target c++11 } }
3
4
struct B {
5
int *b;
6
};
7
struct A {
8
B b;
9
A (A &&);
10
};
11
struct C {
12
A c;
13
int d;
14
};
15
C bar ();
16
struct D : C {
17
D ()
18
: C (0 ? bar () : bar ())
19
{}
20
};
21
D d;