From 678443ce179c30305be3a4a042abad2912c863d8 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 27 Oct 2015 21:48:34 +0000 Subject: 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. --- nptl/tst-initializers1-gnu11.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 nptl/tst-initializers1-gnu11.c (limited to 'nptl/tst-initializers1-gnu11.c') 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" -- cgit v1.2.1