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