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 | 9bb947adc5641938bd72c247ff353721160eea70 (patch) | |
tree | b2b9c1065e774545950a89ae98e2c03b6473429b /test/CodeGen/pointer-arithmetic.c | |
parent | 4c92b433836fbcf65e33cca28866909e8fa472a9 (diff) |
Remove broken assert from CodeGen. Better check is done in Sema.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45358 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/pointer-arithmetic.c')
-rw-r--r-- | test/CodeGen/pointer-arithmetic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/pointer-arithmetic.c b/test/CodeGen/pointer-arithmetic.c index 6c644c6e06..6b4de91112 100644 --- a/test/CodeGen/pointer-arithmetic.c +++ b/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; } |