llvm-project/clang/test/CodeGen/pointer-arithmetic.c
Daniel Dunbar 19d84c3c51 Update a number of CodeGen tests to not create .ll files in the test
directory.
 - Removed .ll from the svn:ignore lists to try and prevent this.
 - Added svn:ignore on test/Misc/Output

llvm-svn: 55104
2008-08-21 02:51:29 +00:00

8 lines
150 B
C

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