summaryrefslogtreecommitdiff
path: root/nptl/tst-initializers1-gnu11.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-27 21:48:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-27 21:48:34 +0000
commit678443ce179c30305be3a4a042abad2912c863d8 (patch)
tree2ddea7fab8ca07d0cf493667b2fead7de7b0b99e /nptl/tst-initializers1-gnu11.c
parent783dd2d3af5aad76829e61ab5abeac5d466971f6 (diff)
downloadglibc-678443ce179c30305be3a4a042abad2912c863d8.tar.gz
Add -std=gnu11 and -std=c11 NPTL initializers tests.
NPTL has tests that initializers work with various -std= options. Now that we can rely on -std=gnu11 and -std=c11 being available, this patch adds versions of those tests for those options. Tested for x86_64 and x86 (testsuite). * nptl/tst-initializers1-c11.c: New file. * nptl/tst-initializers1-gnu11.c: Likewise. * nptl/Makefile (tests): Add these new tests. (CFLAGS-tst-initializers1-c11.c): New variable. (CFLAGS-tst-initializers1-gnu11.c): Likewise.
Diffstat (limited to 'nptl/tst-initializers1-gnu11.c')
-rw-r--r--nptl/tst-initializers1-gnu11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/tst-initializers1-gnu11.c b/nptl/tst-initializers1-gnu11.c
new file mode 100644
index 0000000000..7c27c1d545
--- /dev/null
+++ b/nptl/tst-initializers1-gnu11.c
@@ -0,0 +1 @@
+#include "tst-initializers1.c"