diff options
author | Seo Sanghyeon <sanxiyn@gmail.com> | 2007-12-03 06:23:43 +0000 |
---|---|---|
committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2007-12-03 06:23:43 +0000 |
commit | ec86b97c34b4da5f66b2522d296a6d1c94f742e4 (patch) | |
tree | 1023a850be9eb8efaebd185e7f25b9a514f42dab /test/CodeGen/pointer-arithmetic.c | |
parent | f0049e65763ed4ace041fc7bbece9814067003a8 (diff) |
Ignore typedefs in pointer arithmetic codegen.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44529 91177308-0d34-0410-b5e6-96231b3b80d8
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; } |