2016-01-14 Edward Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / data-already-8.f
blobb206547bca7ba8dfc103fea3cdfae0f3ba659397
1 ! { dg-skip-if "" { *-*-* } { "*" } { "-DACC_MEM_SHARED=0" } }
3 IMPLICIT NONE
5 INTEGER I
7 !$ACC DATA CREATE (I)
8 WRITE(0, *) "CheCKpOInT"
9 !$ACC PARALLEL COPYIN (I)
10 I = 0
11 !$ACC END PARALLEL
12 !$ACC END DATA
14 END
16 ! { dg-output "CheCKpOInT(\n|\r\n|\r).*" }
17 ! { dg-output "Trying to map into device \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) object when \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) is already mapped" }
18 ! { dg-shouldfail "" }