diff options
author | Seo Sanghyeon <sanxiyn@gmail.com> | 2007-12-26 05:21:37 +0000 |
---|---|---|
committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2007-12-26 05:21:37 +0000 |
commit | acb00f4a73f2ff4e5020b01eb9fbb06defc2612b (patch) | |
tree | 3c53656e27ab634bab6ed12ea449f050e67e0642 /clang/test/CodeGen/pointer-arithmetic.c | |
parent | d89e645c38a52da6de2915e2b18b870fcdabc460 (diff) | |
download | llvm-acb00f4a73f2ff4e5020b01eb9fbb06defc2612b.zip llvm-acb00f4a73f2ff4e5020b01eb9fbb06defc2612b.tar.gz llvm-acb00f4a73f2ff4e5020b01eb9fbb06defc2612b.tar.bz2 |
Remove broken assert from CodeGen. Better check is done in Sema.
llvm-svn: 45358
Diffstat (limited to 'clang/test/CodeGen/pointer-arithmetic.c')
-rw-r--r-- | clang/test/CodeGen/pointer-arithmetic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/pointer-arithmetic.c b/clang/test/CodeGen/pointer-arithmetic.c index 6c644c6..6b4de91 100644 --- a/clang/test/CodeGen/pointer-arithmetic.c +++ b/clang/test/CodeGen/pointer-arithmetic.c @@ -3,3 +3,5 @@ typedef int Int; int test1(int *a, Int *b) { return a - b; } + +int test2(const char *a, char *b) { return b - a; } |