projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
disable experimental code for now
[libfirm]
/
ir
/
be
/
test
/
compilerhang1.c
1
/* Verify that flexible arrays can be initialized from STRING_CST
2
constructors. */
3
4
/* The tests. */
5
struct S3 {
6
char a3c;
7
char a3p[];
8
} a3 = {
9
'o',
10
"wx"
11
};
12
13
main()
14
{
15
if (a3.a3c != 'o')
16
abort();
17
if (a3.a3p[0] != 'w')
18
abort();
19
if (a3.a3p[1] != 'x')
20
abort();
21
22
return 0;
23
}