2 ! { dg-additional-options "-std=f2008 -fcoarray=single" }
7 elemental subroutine test1
8 !$acc parallel ! { dg-error "may not appear in PURE procedures" }
12 !$acc parallel ! { dg-error "may not appear in PURE procedures" }
16 elemental real function test3(x)
18 !$acc parallel ! { dg-error "may not appear in PURE procedures" }
22 pure real function test4(x)
24 !$acc parallel ! { dg-error "may not appear in PURE procedures" }
31 !$acc parallel loop collapse(1) reduction(+:x)
38 real function test6(x)
41 !$acc parallel loop collapse(1) reduction(+:x)
48 impure elemental real function test7(x)
58 !$acc parallel loop collapse(1) reduction(+:x)
60 critical ! { dg-error "CRITICAL block inside of" }
67 real function test9(n)
72 !$acc loop reduction(+:sum)
74 sum = sum + sin(real(i))