projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase
[oota-llvm.git]
/
test
/
CFrontend
/
2002-03-12-StructInitializer.c
1
/* GCC was not emitting string constants of the correct length when
2
* embedded into a structure field like this. It thought the strlength
3
* was -1.
4
*/
5
6
typedef struct Connection_Type {
7
long to;
8
char type[10];
9
long length;
10
} Connection;
11
12
Connection link[3]
13
= { {1, "link1", 10},
14
{2, "link2", 20},
15
{3, "link3", 30} };
16