source:
CIVL/mods/dev.civl.com/examples/fortran/smack/forloop.f90@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 180 bytes | |
| Line | |
|---|---|
| 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.
