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 d44bfd3 commit 4122a28Copy full SHA for 4122a28
regression/cbmc/simple_assert/main.c
@@ -0,0 +1,9 @@
1
+#include <assert.h>
2
+
3
+int main(int argc, char *argv[])
4
+{
5
+ int x = 5;
6
+ assert(x == 5);
7
8
+ return 0;
9
+}
regression/cbmc/simple_assert/test.desc
@@ -0,0 +1,13 @@
+CORE
+main.c
+--cover location
+^EXIT=0$
+^SIGNAL=0$
+^\[main\.coverage\.1\] .* function main block 1: SATISFIED$
+(1 of 1|3 of 3) covered \(100\.0%\)$
+--
+^warning: ignoring
10
+^CONVERSION ERROR$
11
+^\[main\.coverage\..\] .* function main block .: FAILED$
12
13
+On Windows/Visual Studio, "assert" does not introduce any branching.
0 commit comments