Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Lexer / wchar.c
blobe6b3467473c7f6933d96014628a8ca81008d2359
1 // RUN: %clang_cc1 -fsyntax-only -fwchar-type=short -fno-signed-wchar -verify %s
3 void f(void) {
4 (void)L"\U00010000"; // unicode escape produces UTF-16 sequence, so no warning
6 (void)L'ab'; // expected-error {{wide character literals may not contain multiple characters}}
8 (void)L'a\u1000'; // expected-error {{wide character literals may not contain multiple characters}}