source:
CIVL/mods/dev.civl.com/examples/library/civlc/concreteIntTest.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 211 bytes | |
| Rev | Line | |
|---|---|---|
| [d980649] | 1 | |
| [7b92a9d] | 2 | #include<civlc.cvh> |
| 3 | #include<stdio.h> | |
| 4 | ||
| 5 | $input int X,Y; | |
| 6 | int Z=5; | |
| 7 | ||
| 8 | int main(){ | |
| 9 | _Bool b; | |
| 10 | ||
| 11 | b=$is_concrete_int(X); | |
| 12 | $assert(!b); | |
| 13 | b=$is_concrete_int(Y); | |
| 14 | $assert(!b); | |
| 15 | b=$is_concrete_int(Z); | |
| 16 | $assert(b); | |
| 17 | } |
Note:
See TracBrowser
for help on using the repository browser.
