llvm/test/CFrontend/2004-01-01-UnknownInitSize.c
John Criswell 207a6e9af3 xfail this across all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18633 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 16:31:06 +00:00

16 lines
267 B
C

// RUN: %llvmgcc -S %s -o /dev/null
/*
* This regression test ensures that the C front end can compile initializers
* even when it cannot determine the size (as below).
* XFAIL: *
*/
struct one
{
int a;
int values [];
};
struct one hobbit = {5, {1, 2, 3}};