Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2004-01-01-UnknownInitSize.c
blobb26b6cd87560be65b65a0a946de99e75d4163c3b
1 // RUN: %llvmgcc -S %s -o /dev/null
3 /*
4 * This regression test ensures that the C front end can compile initializers
5 * even when it cannot determine the size (as below).
6 */
7 struct one
9 int a;
10 int values [];
13 struct one hobbit = {5, {1, 2, 3}};