☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr118320.C
☽
☼
gcc/testsuite/g++.dg/torture/pr118320.C
code
plain
raw
1
// { dg-additional-options "-fno-tree-sra" } */
2
3
struct T{
4
long f[2];
5
};
6
void f1(int);
7
void g(T&);
8
void f1()
9
{
10
T a;
11
a.~T(); // To force the clobber
12
a.f[1] = 1;
13
T b = a;
14
g(b);
15
}