source:
CIVL/examples/languageFeatures/assignInput.cvl@
abb7e049
| Last change on this file since abb7e049 was 3ff27cf, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 125 bytes | |
| Rev | Line | |
|---|---|---|
| [e6b02c8] | 1 | #include <civlc.cvh> |
| [53a547e] | 2 | |
| 3 | $input int N; | |
| 4 | ||
| 5 | void main(){ | |
| 6 | int x = N; | |
| 7 | ||
| [3ff27cf] | 8 | $assert((x == N)); |
| [53a547e] | 9 | N = x + 1; |
| [3ff27cf] | 10 | $assert((x+1 == N)); |
| [53a547e] | 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
