diff --git a/misc/tst-atomic.c b/misc/tst-atomic.c index 65d0752c91..5576f682ca 100644 --- a/misc/tst-atomic.c +++ b/misc/tst-atomic.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see . */ +#ifndef __clang__ #include #include @@ -636,3 +637,12 @@ do_test (void) } #include +#else +#include + +int +main (void) +{ + return EXIT_UNSUPPORTED; +} +#endif