source:
CIVL/examples/fortran/smack/pointer.f90@
3d3af8f
| Last change on this file since 3d3af8f was e3f356c, checked in by , 5 years ago | |
|---|---|
|
|
| File size: 177 bytes | |
| Rev | Line | |
|---|---|---|
| [e3f356c] | 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.
