diff options
Diffstat (limited to 'test/CodeGen/pointer-arithmetic.c')
-rw-r--r-- | test/CodeGen/pointer-arithmetic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/pointer-arithmetic.c b/test/CodeGen/pointer-arithmetic.c new file mode 100644 index 0000000000..6c644c6e06 --- /dev/null +++ b/test/CodeGen/pointer-arithmetic.c @@ -0,0 +1,5 @@ +// RUN: clang -emit-llvm %s + +typedef int Int; + +int test1(int *a, Int *b) { return a - b; } |