☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr121870.C
☽
☼
gcc/testsuite/g++.dg/torture/pr121870.C
code
plain
raw
1
__attribute__((noreturn)) void f1(void)
2
{
3
while(true) {}
4
}
5
static void (*fptr)(void) = f1;
6
struct s1
7
{
8
~s1() {
9
fptr();
10
}
11
void DoInner() {
12
fptr();
13
}
14
};
15
16
void f()
17
{
18
s1 xxx;
19
xxx.DoInner();
20
}