gcc/testsuite/gfortran.dg/gomp/declare-simd-1.f90
raw| 1 | ! { dg-do compile } |
| 2 | |
| 3 | subroutine fn1 (x) |
| 4 | integer :: x |
| 5 | !$omp declare simd (fn1) inbranch notinbranch uniform (x) ! { dg-error "Duplicated 'notinbranch' clause" } |
| 6 | end subroutine fn1 |
| 7 | subroutine fn2 (x) |
| 8 | !$omp declare simd (fn100) ! { dg-error "should refer to containing procedure" } |
| 9 | end subroutine fn2 |