blob: f9b49ccfa1fc8de3d87193103e2643febef6fd98 [file] [log] [blame]
John Criswella29b94d2004-01-01 23:58:07 +00001/*
2 * This regression test ensures that the C front end can compile initializers
3 * even when it cannot determine the size (as below).
Tanya Lattner12ff9682004-11-06 20:38:27 +00004 * XFAIL: linux,darwin
5*/
John Criswella29b94d2004-01-01 23:58:07 +00006struct one
7{
8 int a;
9 int values [];
10};
11
12struct one hobbit = {5, {1, 2, 3}};
13