Sign in
ara-mdk
/
platform
/
external
/
llvm
/
6ff7240a5c484af6e42e2ba6a6d7e03ddf844922
/
.
/
test
/
CFrontend
/
2005-03-05-OffsetOfHack.c
blob: 8df7231df6aced1769b7add0077bf71173797f0b [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o -
struct
s
{
unsigned
long
int
field
[
0
];
};
#define
OFFS \
(((
char
*)
&((
struct
s
*)
0
)->
field
[
0
])
-
(
char
*)
0
)
int
foo
[
OFFS
];