☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
init
/
no-elide3.C
☽
☼
gcc/testsuite/g++.dg/init/no-elide3.C
code
plain
raw
1
// PR c++/118199
2
// { dg-do "compile" { target c++11 } }
3
// { dg-options "-fno-elide-constructors" }
4
5
struct d { ~d(); };
6
d &b();
7
struct f {
8
[[__no_unique_address__]] d e;
9
};
10
struct h : f {
11
h() : f{b()} {}
12
} i;