Sign in
cobalt
/
cobalt
/
6c3b32a7dc6eaf2946073e6fa29281b8cb58f1e3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGenCXX
/
2008-05-07-CrazyOffsetOf.cpp
blob: f842f958e9e63e43313787b69e952acc6a332c68 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o -
// rdar://5914926
struct
bork
{
struct
bork
*
next_local
;
char
*
query
;
};
int
offset
=
(
char
*)
&(((
struct
bork
*)
0x10
)->
query
)
-
(
char
*)
0x10
;