diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr15749-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr15749-1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr15749-1.c b/gcc/testsuite/gcc.dg/pr15749-1.c new file mode 100644 index 000000000..e78816f80 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr15749-1.c @@ -0,0 +1,8 @@ +/* Flexible array misuses (that are accepted without -pedantic) should + be OK in system headers even with -pedantic-errors. PR 15749 + from Tuomo dot Tikkanen at nokia dot com. */ +/* Origin: Joseph Myers <jsm@polyomino.org.uk> */ +/* { dg-do compile } */ +/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ + +#include "pr15749-1.h" |