repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC
/
2004-01-01-UnknownInitSize.c
blob
b26b6cd87560be65b65a0a946de99e75d4163c3b
1
// RUN: %llvmgcc -S %s -o /dev/null
2
3
/*
4
* This regression test ensures that the C front end can compile initializers
5
* even when it cannot determine the size (as below).
6
*/
7
struct
one
8
{
9
int
a
;
10
int
values
[];
11
};
12
13
struct
one hobbit
= {
5
, {
1
,
2
,
3
}};
14