3 ! Contributed by Reinhold Bader
12 CLASS(*), allocatable
:: a(:)[:]
16 allocate(real :: a(3)[*])
17 IF (this_image() == num_images()) THEN
25 IF (this_image() == 1) THEN
28 IF (ALL(A(:)[1] == 2.0)) THEN
45 allocate(t
:: a(3)[*])
46 IF (this_image() == num_images()) THEN
48 TYPE IS (t
) ! FIXME: When implemented, turn into "do-do run"
49 a(:)[1]%a
= 4.0 ! { dg-error "Sorry, coindexed access at \\(1\\) to a scalar component with an array partref is not yet supported" }
54 IF (this_image() == 1) THEN
59 TYPE IS (t
) ! FIXME: When implemented, turn into "do-do run"
60 IF (ALL(A(:)[1]%a
== 4.0)) THEN ! { dg-error "Sorry, coindexed access at \\(1\\) to a scalar component with an array partref is not yet supported" }