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
/
2007-11-28-GlobalInitializer.c
blob
c8c7a594d0b6a9c1950a4126d466f6816db866e1
1
// RUN: %llvmgcc -S %s -o -
2
// PR1744
3
typedef
struct
foo
{
int
x
;
char
*
p
; }
FOO
;
4
extern
FOO yy
[];
5
6
int
*
y
= &((
yy
+
1
)->
x
);
7
void
*
z
= &((
yy
+
1
)->
x
);
8