☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
torture
/
harden-comp-pr111520.C
☽
☼
gcc/testsuite/g++.dg/torture/harden-comp-pr111520.C
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-fharden-compares -fsignaling-nans -fnon-call-exceptions" } */
3
4
struct S
5
{
6
S (bool);
7
~S ();
8
};
9
10
float f;
11
12
void
13
foo ()
14
{
15
S a = 0;
16
S b = f;
17
}