Sign in
ara-mdk
/
platform
/
external
/
clang
/
70e82dc7a254054f0de491493489da162e63c364
/
.
/
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
;