annotate gcc/testsuite/gfortran.dg/goacc/pr94120-1.f90 @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
1 ! { dg-do compile }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 !
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3 ! PR fortran/94120
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 !
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 implicit none
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 integer :: i
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 contains
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 subroutine f()
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 !$acc declare copy(i) ! { dg-error "Variable 'i' shall be declared in the same scoping unit as !.ACC DECLARE" }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 end
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 end