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 | 3d072bea09eac989a4cb231dca74d9816c93f70b (patch) | |
tree | e03819fc02fb926cc54f92c36a0431e3396a15a9 /clang/test/CodeGen/pointer-arithmetic.c | |
parent | 9050bd1f687d04742ca54bb2541197c0c905934f (diff) | |
download | bcm5719-llvm-3d072bea09eac989a4cb231dca74d9816c93f70b.tar.gz bcm5719-llvm-3d072bea09eac989a4cb231dca74d9816c93f70b.zip |
Ignore typedefs in pointer arithmetic codegen.
llvm-svn: 44529
Diffstat (limited to 'clang/test/CodeGen/pointer-arithmetic.c')
-rw-r--r-- | clang/test/CodeGen/pointer-arithmetic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/pointer-arithmetic.c b/clang/test/CodeGen/pointer-arithmetic.c new file mode 100644 index 00000000000..6c644c6e06f --- /dev/null +++ b/clang/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; } |