Skip to content

Commit d05b9c6

Browse files
author
Thomas Kiley
committed
Add test for checking symbolic comparisons
1 parent 2171833 commit d05b9c6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#include <assert.h>
2+
const int g_N = 2;
3+
4+
void main(void)
5+
{
6+
for(int i = 0; i < g_N; i++)
7+
{
8+
assert(0);
9+
}
10+
11+
for(int j = 4; j >= g_N; j--)
12+
{
13+
assert(0);
14+
}
15+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CORE
2+
main.c
3+
--intervals
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
\[main\.assertion\.1\] line 8 assertion 0: UNKNOWN
7+
\[main\.assertion\.2\] line 13 assertion 0: UNKNOWN
8+
--
9+
--
10+
Test comparision between two symbols does not mark the
11+
result as bottom

0 commit comments

Comments
 (0)