xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2002-03-12-StructInitialize.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2 
3 
4 typedef struct Connection_Type {
5    long    to;
6    char    type[10];
7    long    length;
8 } Connection;
9 
10 Connection link[3]
11 = { {1, "link1", 10},
12     {2, "link2", 20},
13     {3, "link3", 30} };
14 
15