projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[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
}