Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
CodeGen
/
pointer-arithmetic.c
blob: 6b4de91112855ef8e3f513a3e3a9d608fcea7bce [
file
] [
log
] [
blame
]
// RUN: clang -emit-llvm %s
typedef
int
Int
;
int
test1
(
int
*
a
,
Int
*
b
)
{
return
a
-
b
;
}
int
test2
(
const
char
*
a
,
char
*
b
)
{
return
b
-
a
;
}