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-02-04-AddrLValue-2.c
blob
90251e6debdfcc88c76f4ec69ee66159df9b0d32
1
// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
2
// PR1173
3
4
struct
S
{
char
s
; };
5
struct
T
{
struct
S t
; };
6
7
struct
S
*
const
p
= &((
struct
T
*
const
) (
0x4000
))->
t
;
8
9
void
10
foo
(
void
)
11
{
12
p
->
s
=
0
;
13
}