aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/atomic/gnu23-stdatomic-lockfree-char8_t.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/atomic/gnu23-stdatomic-lockfree-char8_t.c')
-rw-r--r--gcc/testsuite/gcc.dg/atomic/gnu23-stdatomic-lockfree-char8_t.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/atomic/gnu23-stdatomic-lockfree-char8_t.c b/gcc/testsuite/gcc.dg/atomic/gnu23-stdatomic-lockfree-char8_t.c
new file mode 100644
index 0000000..5fb03cc
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/atomic/gnu23-stdatomic-lockfree-char8_t.c
@@ -0,0 +1,5 @@
+/* Test atomic_is_lock_free for char8_t with -std=gnu23. */
+/* { dg-do run } */
+/* { dg-options "-std=gnu23 -pedantic-errors" } */
+
+#include "c23-stdatomic-lockfree-char8_t.c"