bug in wchar_t initializing

wc.c contents:
#include <wchar.h>
int main(){
   wchar_t wb = L"Hi\300";
}

$ clang wc.c
clang:4:19: error: initialization with '{...}' expected for array
   wchar_t wb = L"Hi\300";
                  ^~~~~~~~~
1 diagnostic generated.
$

I am pretty sure it should be possible initialise a wchar_t this way.

pb

I already played with that... http://www.vlakno.cz/~rdivacky/wchar.patch

there were some comments about the patch but I didnt have the time to
look at it. Also, note that wchars are not yet supported so even
with this fixed the code wont compile anyway :slight_smile:

roman