3 ! Test the fix for PR83318.
5 ! Contributed by Neil Carlson <neil.n.carlson@gmail.com>
8 class(*), allocatable :: v(:)
10 type(any_vector) :: x, y
12 ! This did not work correctly
16 ! This was reported as not working correctly but was OK before the above was fixed
28 subroutine foo (arg, n)
29 type (any_vector) :: arg
31 select type (v => arg%v)
32 type is (character(*))
33 if (any (v .ne. ["foo","bar"])) stop n
35 if (any (v .ne. [1_4,2_4])) stop n