summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-unicode-with-utf8-output.c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-06 07:15:59 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-06 07:15:59 +0000
commit0c81c716eb800fb1bc5dd36ca19fa38af8e47b35 (patch)
tree895ee394422d39a86a41eed7f47abcddda9eb24c /clang/test/FixIt/fixit-unicode-with-utf8-output.c
parent1ee681305f1ddf2fd82e2ff5acb0d711ba23879b (diff)
downloadbcm5719-llvm-0c81c716eb800fb1bc5dd36ca19fa38af8e47b35.tar.gz
bcm5719-llvm-0c81c716eb800fb1bc5dd36ca19fa38af8e47b35.zip
check-clang: Introduce the feature "utf8-capable-terminal".
clang/test/FixIt/fixit-unicode-with-utf8-output.c has begun complained since LLVM r200885. Although it is changes for StringRef, it brought LLVM_ON_WIN32 to Support/Locale.cpp. Before r200885, LLVM_ON_WIN32 was undefined in Locale.cpp! FIXME: We should consider i18n on win32. llvm-svn: 200909
Diffstat (limited to 'clang/test/FixIt/fixit-unicode-with-utf8-output.c')
-rw-r--r--clang/test/FixIt/fixit-unicode-with-utf8-output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit-unicode-with-utf8-output.c b/clang/test/FixIt/fixit-unicode-with-utf8-output.c
index aff85427432..a1a7bb73380 100644
--- a/clang/test/FixIt/fixit-unicode-with-utf8-output.c
+++ b/clang/test/FixIt/fixit-unicode-with-utf8-output.c
@@ -2,6 +2,7 @@
// systems capable of outputting Unicode characters to the standard output in
// the UTF-8 encoding.
// RUN: not %clang_cc1 -fsyntax-only %S/fixit-unicode.c 2>&1 | FileCheck -strict-whitespace %s
+// REQUIRES: utf8-capable-terminal
// CHECK: warning: format specifies type 'int' but the argument has type 'long'
// CHECK: {{^ printf\("∆: %d", 1L\);}}
OpenPOWER on IntegriCloud