source:
CIVL/mods/dev.civl.com/examples/fortran/smack/pointer.f90@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 177 bytes | |
| Line | |
|---|---|
| 1 | ! @expect verified |
| 2 | |
| 3 | program main |
| 4 | implicit none |
| 5 | integer, pointer :: box |
| 6 | integer, target :: x = 3 |
| 7 | box => x |
| 8 | !print *, box == 3 |
| 9 | !$CVL $assert(box == 3) |
| 10 | end program main |
Note:
See TracBrowser
for help on using the repository browser.
