blob: de2d84781c40eb405b51f2ebc41932ce36e1766a [file] [log] [blame]
Chris Lattner4b3f9452002-03-12 18:56:45 +00001/* 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
6typedef struct Connection_Type {
7 long to;
8 char type[10];
9 long length;
10} Connection;
11
12Connection link[3]
13= { {1, "link1", 10},
14 {2, "link2", 20},
15 {3, "link3", 30} };
16