Skip to content

Commit fdee7e8

Browse files
author
Thomas Kiley
authored
Merge pull request diffblue#2059 from tautschnig/generalise-test
Negative numbers should also pass the test
2 parents 1f1f67f + 5832ffd commit fdee7e8

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)