Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2002-03-12-StructInitialize.c
blob9eb11e187a119aa38d0e6fa778750e7b94c90f30
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
4 typedef struct Connection_Type {
5 long to;
6 char type[10];
7 long length;
8 } Connection;
10 Connection link[3]
11 = { {1, "link1", 10},
12 {2, "link2", 20},
13 {3, "link3", 30} };