diff options
Diffstat (limited to 'test/Lexer/utf8-char-literal.cpp')
-rw-r--r-- | test/Lexer/utf8-char-literal.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Lexer/utf8-char-literal.cpp b/test/Lexer/utf8-char-literal.cpp new file mode 100644 index 000000000000..c4ea5fc3c3e9 --- /dev/null +++ b/test/Lexer/utf8-char-literal.cpp @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -fsyntax-only -verify %s + +int array0[u'ñ' == u'\xf1'? 1 : -1]; +int array1['ñ' != u'\xf1'? 1 : -1]; |