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