summaryrefslogtreecommitdiff
path: root/test/Lexer/escape_newline.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-09-03 21:22:16 +0000
committerTed Kremenek <kremenek@apple.com>2008-09-03 21:22:16 +0000
commitea644d8440479359ea2480d458e3751a6bfae123 (patch)
treeeec463dc2140f2d08685ee28e90892ac72d2a281 /test/Lexer/escape_newline.c
parentd6003318560c3f1e7ee6d0d73123963a926a8e06 (diff)
downloadclang-ea644d8440479359ea2480d458e3751a6bfae123.tar.gz
Following gcc's behavior, only enable trigraphs if '-trigraphs' or '-ansi' is
specified, or -std is set to a conforming mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer/escape_newline.c')
-rw-r--r--test/Lexer/escape_newline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Lexer/escape_newline.c b/test/Lexer/escape_newline.c
index 235ee51ef0..2e4b7cd7cd 100644
--- a/test/Lexer/escape_newline.c
+++ b/test/Lexer/escape_newline.c
@@ -1,6 +1,6 @@
-// RUN: clang -E %s | grep -- ' ->' &&
-// RUN: clang -E %s 2>&1 | grep 'backslash and newline separated by space' &&
-// RUN: clang -E %s 2>&1 | grep 'trigraph converted'
+// RUN: clang -E -trigraphs %s | grep -- ' ->' &&
+// RUN: clang -E -trigraphs %s 2>&1 | grep 'backslash and newline separated by space' &&
+// RUN: clang -E -trigraphs %s 2>&1 | grep 'trigraph converted'
// This is an ugly way to spell a -> token.
-??/