1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
4 ! 2.17.1 critical construct
5 ! CRITICAL start and end CRITICAL directive names mismatch
6 integer function timer_tick_sec()
16 !$OMP END CRITICAL (foo)
20 !ERROR: CRITICAL directive names do not match
21 !$OMP END CRITICAL (bar)
25 !ERROR: CRITICAL directive names do not match
26 !$OMP END CRITICAL (foo)
28 !ERROR: CRITICAL directive names do not match
35 !ERROR: CRITICAL directive names do not match
36 !$OMP END CRITICAL (foo)
41 end function timer_tick_sec