summaryrefslogtreecommitdiff
path: root/test/Lexer/wchar.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-27 05:40:30 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-27 05:40:30 +0000
commit5cee1195584fa8672253139c86e922daeda69b9e (patch)
treee1b36e0f628359bb42d22d78c74e931057b962de /test/Lexer/wchar.c
parent6fa8f86b8188c6d3c4d6616122a71ccd72a0c78a (diff)
downloadclang-5cee1195584fa8672253139c86e922daeda69b9e.tar.gz
Add support for C++0x unicode string and character literals, from Craig Topper!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136210 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer/wchar.c')
-rw-r--r--test/Lexer/wchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Lexer/wchar.c b/test/Lexer/wchar.c
index ac82c1f73b..648a38ef3f 100644
--- a/test/Lexer/wchar.c
+++ b/test/Lexer/wchar.c
@@ -5,8 +5,8 @@ void f() {
(void)L'\U00010000'; // expected-warning {{character unicode escape sequence too long for its type}}
- (void)L'ab'; // expected-warning {{extraneous characters in wide character constant ignored}}
+ (void)L'ab'; // expected-warning {{extraneous characters in character constant ignored}}
- (void)L'a\u1000'; // expected-warning {{extraneous characters in wide character constant ignored}}
+ (void)L'a\u1000'; // expected-warning {{extraneous characters in character constant ignored}}
}