aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2004-01-01-UnknownInitSize.c
blob: 076c54b39f9fb97e62caa9d87dbb77641a23afad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * This regression test ensures that the C front end can compile initializers
 * even when it cannot determine the size (as below).
 */
struct one
{
  int a;
  int values [];
};

struct one hobbit = {5, {1, 2, 3}};