blob: fc258da7d1a6608c00017f5b391190d84f3f047d [file] [log] [blame]
// RUN: clang-cc -fsyntax-only -pedantic -verify %s
wchar_t x;
void f(wchar_t p) {
wchar_t x;
unsigned wchar_t y; // expected-warning {{'wchar_t' cannot be signed or unsigned}}
signed wchar_t z; // expected-warning {{'wchar_t' cannot be signed or unsigned}}
++x;
}