PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / declare-simd-1.f90
blobd6ae7c9c8126e02aa88438087f8a43385f38d7f8
1 ! { dg-do compile }
3 subroutine fn1 (x)
4 integer :: x
5 !$omp declare simd (fn1) inbranch notinbranch uniform (x) ! { dg-error "Unclassifiable OpenMP directive" }
6 end subroutine fn1
7 subroutine fn2 (x)
8 !$omp declare simd (fn100) ! { dg-error "should refer to containing procedure" }
9 end subroutine fn2