1 2 3 4 5 6 7 8 9 10 11 12
/* Check that -fsanitize=thread options defines __SANITIZE_THREAD__ macros. */ /* { dg-do compile } */ /* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */ int main () { #ifndef __SANITIZE_THREAD__ bad construction #endif return 0; }