1 // RUN: %clang_cc1 -fsyntax-only -fshort-wchar -verify %s 2 3 void f() { 4 (void)L"\U00010000"; // expected-warning {{character unicode escape sequence too long for its type}} 5 6 (void)L'\U00010000'; // expected-warning {{character unicode escape sequence too long for its type}} 7 8 (void)L'ab'; // expected-warning {{extraneous characters in character constant ignored}} 9 10 (void)L'a\u1000'; // expected-warning {{extraneous characters in character constant ignored}} 11 } 12 13