Argiris Kirtzidis | 1ed03e7 | 2008-08-09 16:51:54 +0000 | [diff] [blame^] | 1 | // RUN: clang -fsyntax-only -pedantic -verify %s |
2 | wchar_t x; | ||||
3 | |||||
4 | void f(wchar_t p) { | ||||
5 | wchar_t x; | ||||
6 | unsigned wchar_t y; // expected-warning {{'wchar_t' cannot be signed or unsigned}} | ||||
7 | signed wchar_t z; // expected-warning {{'wchar_t' cannot be signed or unsigned}} | ||||
8 | } |