Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
tsan
/
pr80110.C
blob: bee19e50d309d78b3648488646aa5a094351e733 [
file
] [
log
] [
blame
]
// PR sanitizer/80110
// { dg-do compile }
// { dg-options "-fnon-call-exceptions -fsanitize=thread" }
struct
A
{
int
b
();
void
c
()
{
static
int
d
=
b
();
}
};
void
foo
()
{
A e
;
e
.
c
();
}