Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
20000904-1.c
blob: c6238e350994872981c6efa48b2ba30beba2842e [
file
] [
log
] [
blame
]
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O0 -fpic" } */
static
struct
{
unsigned
short
a
,
b
,
c
,
d
;
}
x
[
10
];
int
foo
(
int
i
)
{
return
((*((
char
*)&
x
[
i
]
+
i
))
|
(*((
char
*)&
x
[
i
]
+
i
)));
}