Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
c-c++-common
/
tsan
/
sanitize-thread-macro.c
blob: 2b8a840687cc11dea7f7ad3eab3e65425b223560 [
file
] [
log
] [
blame
]
/* 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
;
}