We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a8afc commit 4de4538Copy full SHA for 4de4538
regression/cbmc/Typecast2/main.c
regression/cbmc/Typecast2/main.i
@@ -0,0 +1,7 @@
1
+int main()
2
+{
3
+ unsigned int i=2;
4
+ __CPROVER_assert(0l==(signed long int)(i - (unsigned int)2),
5
+ "difference of cast");
6
+ return 0;
7
+}
regression/cbmc/Typecast2/test.desc
@@ -1,5 +1,5 @@
CORE
-main.c
+main.i
--no-propagation --64
^EXIT=0$
^SIGNAL=0$
0 commit comments