forked from OSchip/llvm-project
Regression test for initializers with members of unknown size.
llvm-svn: 10678
This commit is contained in:
parent
5782ca06fc
commit
2c501eca03
|
@ -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}};
|
||||
|
Loading…
Reference in New Issue