Files
clang-p2996/clang/test/CodeGen/pointer-arithmetic.c
2007-12-26 05:21:37 +00:00

8 lines
144 B
C

// 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; }