repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.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
}