diff options
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/tst-atomic.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. */ +#ifndef __clang__ #include <stdio.h> #include <atomic.h> @@ -636,3 +637,12 @@ do_test (void) } #include <support/test-driver.c> +#else +#include <support/test-driver.h> + +int +main (void) +{ + return EXIT_UNSUPPORTED; +} +#endif |
