Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
860a319e62b0e256817a458396d191aa91c0787a
/
.
/
test
/
CodeGen
/
2007-02-16-VoidPtrDiff.c
blob: c9f6714c253cce9d8ebda942854c88df362730e2 [
file
] [
log
] [
blame
]
Eric Christopher
3883e66
2011-07-26 22:17:02 +0000
[
diff
] [
blame
]
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
void
foo
(
void
*
ptr
,
int
test
)
{
4
(
ptr
-
((
void
*)
test
+
0x2000
));
5
}