Commit 9d1be21
committed
cbmc-incr-smt2 tests: remove misguided assertion
There is no reason an integer couldn't have the same value as a pointer
(when converted to an integer type). This assertion might accidentally
hold on platforms where sizeof(int) != sizeof(int *) given our current
pointer model, but this is an implementation detail that we must not
rely on. The assertion certainly doesn't hold when sizeof(int) ==
sizeof(int *).1 parent cc27808 commit 9d1be21
File tree
2 files changed
+4
-6
lines changed- regression/cbmc-incr-smt2/pointers-relational-operators
2 files changed
+4
-6
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
0 commit comments