Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
cf712dee9398ea24720da9dc14462df5d9471762
/
.
/
test
/
FrontendC++
/
2008-05-07-CrazyOffsetOf.cpp
blob: f1831976f4ecd549810a18ff76d2a53655544944 [
file
] [
log
] [
blame
]
// RUN: %llvmgxx -S %s -o -
// rdar://5914926
struct
bork
{
struct
bork
*
next_local
;
char
*
query
;
};
int
offset
=
(
char
*)
&(((
struct
bork
*)
0x10
)->
query
)
-
(
char
*)
0x10
;