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
/
opt
/
flifetime-dse5.C
blob
92759440f00b8e5f643afd6256f5665aa49a31ec
1
// PR c++/70259
2
// { dg-options -O2 }
3
// { dg-do run }
4
5
struct Empty { };
6
struct A { A() : a(true) { } bool a; };
7
struct B : Empty { B() : Empty() { } };
8
struct C : A, B { C() : A(), B() { } };
9
int main() {
10
C c;
11
if ( c.a == false )
12
__builtin_abort();
13
}