☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
goacc
/
pr94120-1.f90
☽
☼
gcc/testsuite/gfortran.dg/goacc/pr94120-1.f90
code
plain
raw
1
! { dg-do compile }
2
!
3
! PR fortran/94120
4
!
5
implicit none
6
integer :: i
7
contains
8
subroutine f()
9
!$acc declare copy(i) ! { dg-error "Variable 'i' shall be declared in the same scoping unit as !.ACC DECLARE" }
10
end
11
end