Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tests pass when char is unsigned #8212

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regression/cbmc-cpp/Pointer_Conversion2/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <cassert>
char a[100];
signed char a[100];

void f(const signed char x[])
{
Expand Down
2 changes: 1 addition & 1 deletion regression/cbmc/pragma_cprover_enable_all/test.desc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ main.c
^\[main\.division-by-zero\.\d+\] line 84 division by zero in x / den: FAILURE
^\[main\.overflow\.\d+\] line 84 arithmetic overflow on floating-point division in x / den: FAILURE
^\[main\.enum-range-check\.\d+\] line 85 enum range check in \(ABC\)10: FAILURE
^\[main\.overflow\.\d+\] line 86 arithmetic overflow on signed type conversion in \(char\)\(\(signed int\)i \+ 1\): FAILURE
^\[main\.overflow\.\d+\] line 86 arithmetic overflow on signed (to unsigned )?type conversion in \(char\)\(\(signed int\)i \+ 1\): FAILURE
^\[main\.overflow\.\d+\] line 87 arithmetic overflow on signed \+ in j \+ 1: FAILURE
^VERIFICATION FAILED$
^EXIT=10$
Expand Down
Loading