Created
March 22, 2021 07:57
-
-
Save TrigDevelopment/d39caf96b2e0b382443670238aba61ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int a; | |
| int b; | |
| /*@ behavior ChangeA: | |
| assumes argument == 0; | |
| assigns a; | |
| behavior ChangeB: | |
| assumes argument == 1; | |
| assigns b; | |
| */ | |
| void f(int argument) | |
| { | |
| if (argument == 0) | |
| { | |
| a = 1; | |
| } | |
| else | |
| { | |
| b = 1; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment