1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Regression test for initializers with members of unknown size.

llvm-svn: 10678
This commit is contained in:
John Criswell 2004-01-01 23:58:07 +00:00
parent 4a673d0bf9
commit 4d822cc81d

View File

@ -0,0 +1,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}};