summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Lexer/unicode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Lexer/unicode.c b/clang/test/Lexer/unicode.c
new file mode 100644
index 00000000000..1d7b53e2c5e
--- /dev/null
+++ b/clang/test/Lexer/unicode.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// This file contains Unicode characters; please do not "fix" them!
+
+extern int x; // expected-warning {{treating Unicode character as whitespace}}
+extern int x; // expected-warning {{treating Unicode character as whitespace}}
OpenPOWER on IntegriCloud