fehler127: WTF - autobreak expects this to compile.
[libfirm] / ir / be / test / fehler025.c
1 /* The compound initialisation code asserts when a wide char array in a struct
2  * gets initialised with a wide string literal which is - not counting the \0 -
3  * as long as the array */
4
5 #include <wchar.h>
6
7 struct s {
8         wchar_t x[30];
9         short y;
10 };
11
12
13 struct s x[][21] = {
14         { L"Exactly    30    chars    long", 1 }
15 };
16
17
18 int main(void)
19 {
20         return 0;
21 }