☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
tsan
/
pr80110.C
☽
☼
gcc/testsuite/g++.dg/tsan/pr80110.C
code
plain
raw
1
// PR sanitizer/80110
2
// { dg-do compile }
3
// { dg-options "-fnon-call-exceptions -fsanitize=thread" }
4
5
struct A
6
{
7
int b ();
8
void c () { static int d = b (); }
9
};
10
11
void
12
foo ()
13
{
14
A e;
15
e.c ();
16
}