Skip to content

Commit 5832ffd

Browse files
committed
Negative numbers should also pass the test
1 parent da63652 commit 5832ffd

File tree

1 file changed

+1
-1
lines changed
  • regression/cbmc/pointer-function-parameters-2

1 file changed

+1
-1
lines changed

regression/cbmc/pointer-function-parameters-2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ main.c
55
^Test suite:$
66
^a=\(\(signed int \*\*\)NULL\), tmp\$\d+=[^,]*, tmp\$\d+=[^,]*$
77
^a=&tmp\$\d+!0, tmp\$\d+=\(\(signed int \*\)NULL\), tmp\$\d+=[^,]*$
8-
^a=&tmp\$\d+!0, tmp\$\d+=&tmp\$\d+!0, tmp\$\d+=([012356789][0-9]*|4[0-9]+)$
8+
^a=&tmp\$\d+!0, tmp\$\d+=&tmp\$\d+!0, tmp\$\d+=(-[0-9]+|[012356789][0-9]*|4[0-9]+)$
99
^a=&tmp\$\d+!0, tmp\$\d+=&tmp\$\d+!0, tmp\$\d+=4$
1010
^EXIT=0$
1111
^SIGNAL=0$

0 commit comments

Comments
 (0)