source:
CIVL/mods/dev.civl.com/examples/languageFeatures/equivQualifier.c@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 214 bytes | |
| Line | |
|---|---|
| 1 | #include <civlc.cvh> |
| 2 | #include <pointer.cvh> |
| 3 | |
| 4 | $input double ARR1[3]; |
| 5 | |
| 6 | void main() { |
| 7 | double ARR2[3]; |
| 8 | |
| 9 | for (int i = 0; i < 3; i ++) { |
| 10 | ARR2[i] = ARR1[i]; |
| 11 | } |
| 12 | $assert($equals(&ARR2, &ARR1)); |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.
