]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2002-03-12-StructInitialize.c
Vendor import of clang RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / 2002-03-12-StructInitialize.c
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