commit | a570d31f798157bf93a444493df182f09b2ee1c6 | [log] [tgz] |
---|---|---|
author | Seo Sanghyeon <sanxiyn@gmail.com> | Wed Dec 26 05:21:37 2007 +0000 |
committer | Seo Sanghyeon <sanxiyn@gmail.com> | Wed Dec 26 05:21:37 2007 +0000 |
tree | b2b9c1065e774545950a89ae98e2c03b6473429b | |
parent | 8af8b0645bb5c2165533f0bff7ab01da4ea27597 [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
diff --git a/test/CodeGen/pointer-arithmetic.c b/test/CodeGen/pointer-arithmetic.c index 6c644c6..6b4de91 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; }