| 1 | suite "differential/runtime-control-flow" |
| 2 | |
| 3 | case "if_else_matches_references" |
| 4 | source "../../fixtures/runtime/if_else.f90" |
| 5 | opts => O0, O1, O2 |
| 6 | armfortas => run |
| 7 | differential => gfortran, flang-new |
| 8 | expect run.stdout check-comments |
| 9 | expect run.exit_code equals 0 |
| 10 | end |
| 11 | |
| 12 | case "do_while_matches_references" |
| 13 | source "../../fixtures/runtime/do_while.f90" |
| 14 | opts => O0, O1, O2 |
| 15 | armfortas => run |
| 16 | differential => gfortran, flang-new |
| 17 | expect run.stdout check-comments |
| 18 | expect run.exit_code equals 0 |
| 19 | end |
| 20 | |
| 21 | case "nested_loops_matches_references" |
| 22 | source "../../fixtures/runtime/nested_loops.f90" |
| 23 | opts => O0, O1, O2 |
| 24 | armfortas => run |
| 25 | differential => gfortran, flang-new |
| 26 | expect run.stdout check-comments |
| 27 | expect run.exit_code equals 0 |
| 28 | end |
| 29 | |
| 30 | case "exit_cycle_matches_references" |
| 31 | source "../../fixtures/runtime/exit_cycle.f90" |
| 32 | opts => O0, O1, O2 |
| 33 | armfortas => run |
| 34 | differential => gfortran, flang-new |
| 35 | expect run.stdout check-comments |
| 36 | expect run.exit_code equals 0 |
| 37 | end |
| 38 | |
| 39 | case "select_case_matches_references" |
| 40 | source "../../fixtures/runtime/select_case.f90" |
| 41 | opts => O0, O1, O2 |
| 42 | armfortas => run |
| 43 | differential => gfortran, flang-new |
| 44 | expect run.stdout check-comments |
| 45 | expect run.exit_code equals 0 |
| 46 | end |
| 47 | |
| 48 | case "function_call_matches_references" |
| 49 | source "../../fixtures/runtime/function_call.f90" |
| 50 | opts => O0, O1, O2 |
| 51 | armfortas => run |
| 52 | differential => gfortran, flang-new |
| 53 | expect run.stdout check-comments |
| 54 | expect run.exit_code equals 0 |
| 55 | end |
| 56 | |
| 57 | case "subroutine_call_matches_references" |
| 58 | source "../../fixtures/runtime/subroutine_call.f90" |
| 59 | opts => O0, O1, O2 |
| 60 | armfortas => run |
| 61 | differential => gfortran, flang-new |
| 62 | expect run.stdout check-comments |
| 63 | expect run.exit_code equals 0 |
| 64 | end |
| 65 | |
| 66 | case "real_function_matches_references" |
| 67 | source "../../fixtures/runtime/real_function.f90" |
| 68 | opts => O0, O1, O2 |
| 69 | armfortas => run |
| 70 | differential => gfortran, flang-new |
| 71 | expect run.stdout check-comments |
| 72 | expect run.exit_code equals 0 |
| 73 | end |
| 74 |