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 ();
}