source:
CIVL/examples/fortran/smack/forloop.f90@
3d3af8f
| Last change on this file since 3d3af8f was e3f356c, checked in by , 5 years ago | |
|---|---|
|
|
| File size: 180 bytes | |
| Rev | Line | |
|---|---|---|
| [e3f356c] | 1 | ! @expect verified |
| 2 | ! @flag --unroll=11 | |
| 3 | ||
| 4 | program main | |
| 5 | implicit none | |
| 6 | integer :: x = 0 | |
| 7 | integer i | |
| 8 | do i = 1, 10 | |
| 9 | x = x + 5 | |
| 10 | end do | |
| 11 | !$CVL $assert(x == 50) | |
| 12 | end program main |
Note:
See TracBrowser
for help on using the repository browser.
