☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr96722.C
☽
☼
gcc/testsuite/g++.dg/opt/pr96722.C
code
plain
raw
1
// PR tree-optimization/96722
2
// { dg-do run }
3
// { dg-options "-O2" }
4
5
struct S { int s; ~S () {} };
6
7
void
8
foo (S *a)
9
{
10
if (a)
11
return;
12
a->~S ();
13
}
14
15
int
16
main ()
17
{
18
S s;
19
foo (&s);
20
}