1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/FrontendC/2002-03-12-StructInitialize.c

15 lines
244 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2004-11-06 23:41:00 +01:00
typedef struct Connection_Type {
long to;
char type[10];
long length;
} Connection;
Connection link[3]
= { {1, "link1", 10},
{2, "link2", 20},
{3, "link3", 30} };