blob: 554d4ef99ca3558adb456f0c41921644f47edc73 [file] [log] [blame]
pure subroutine foo
!$omp nothing ! { dg-error "OpenMP directives other than SIMD or DECLARE TARGET at .1. may not appear in PURE procedures" }
end subroutine
subroutine bar
!$omp nothing foo ! { dg-error "Unexpected junk after .OMP NOTHING statement" }
end