Sign in
cobalt
/
cobalt
/
cde3442a440acd4a8f18a44377f1db36e384db7e
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
2007-02-16-VoidPtrDiff.c
blob: c9f6714c253cce9d8ebda942854c88df362730e2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o -
void
foo
(
void
*
ptr
,
int
test
)
{
(
ptr
-
((
void
*)
test
+
0x2000
));
}