diff options
Diffstat (limited to 'test/Driver/std.c')
-rw-r--r-- | test/Driver/std.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/std.c b/test/Driver/std.c new file mode 100644 index 000000000000..ef6d8f197754 --- /dev/null +++ b/test/Driver/std.c @@ -0,0 +1,8 @@ +// RUN: clang -std=c99 -trigraphs -std=gnu99 %s -E -o %t && +// RUN: grep '??(??)' %t && +// RUN: clang -ansi %s -E -o %t && +// RUN: grep -F '[]' %t && +// RUN: clang -std=gnu99 -trigraphs %s -E -o %t && +// RUN: grep -F '[]' %t + +??(??) |