Skip to content

test signed left-shift overflow for C99 #3710

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

Merged
merged 1 commit into from
Jan 7, 2019
Merged
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
16 changes: 16 additions & 0 deletions regression/cbmc/Overflow_Leftshift1/test-c99.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CORE
main.c
--signed-overflow-check --c99
^EXIT=10$
^SIGNAL=0$
^\[.*\] line 6 arithmetic overflow on signed shl in .*: FAILURE$
^\[.*\] line 9 arithmetic overflow on signed shl in .*: SUCCESS$
^\[.*\] line 15 arithmetic overflow on signed shl in .*: SUCCESS$
^\[.*\] line 18 arithmetic overflow on signed shl in .*: FAILURE$
^\[.*\] line 24 arithmetic overflow on signed shl in .*: FAILURE$
^\*\* 3 of 6 failed
^VERIFICATION FAILED$
--
^warning: ignoring
^\[.*\] line 12 arithmetic overflow on signed shl in .*: .*
^\[.*\] line 21 arithmetic overflow on signed shl in .*: .*