2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc -fsyntax-only -pedantic -verify %s
|
2008-08-10 00:51:54 +08:00
|
|
|
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}}
|
2008-08-17 21:24:01 +08:00
|
|
|
++x;
|
2008-08-10 00:51:54 +08:00
|
|
|
}
|