☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
cleanup1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/cleanup1.C
code
plain
raw
1
// { dg-do run }
2
// Bug: fold is too eager about pushing down CLEANUP_POINT_EXPR.
3
4
int d;
5
6
struct A {
7
A() { }
8
~A() { d = 1; }
9
};
10
11
int f (const A& a)
12
{
13
return 1;
14
}
15
16
int main ()
17
{
18
if (f (A()) && d == 0)
19
return 0;
20
return 1;
21
}