[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / Lexer / wchar.c
blobac82c1f73b4d94f194fff7fbc5163e19287b37f9
1 // RUN: %clang_cc1 -fsyntax-only -fshort-wchar -verify %s
3 void f() {
4 (void)L"\U00010000"; // expected-warning {{character unicode escape sequence too long for its type}}
6 (void)L'\U00010000'; // expected-warning {{character unicode escape sequence too long for its type}}
8 (void)L'ab'; // expected-warning {{extraneous characters in wide character constant ignored}}
10 (void)L'a\u1000'; // expected-warning {{extraneous characters in wide character constant ignored}}