Debian Codegraph @

flang/test/Semantics/PowerPC/ppc-vector-types04.f90

raw
1 ! RUN: %python %S/../test_errors.py %s %flang_fc1
2 ! REQUIRES: target=powerpc{{.*}}
3
4 subroutine vec_type_test(arg1, arg2, arg3, arg4)
5 !ERROR: Assumed-shape entity of vector(real(4)) type is not supported
6 vector(real) :: arg1(:)
7 !ERROR: Assumed Rank entity of vector(unsigned(4)) type is not supported
8 vector(unsigned) :: arg2(..)
9 !ERROR: Deferred-shape entity of vector(integer(4)) type is not supported
10 vector(integer), allocatable :: arg3(:)
11 !ERROR: Deferred-shape entity of vector(integer(4)) type is not supported
12 vector(integer), pointer :: arg4(:)
13 !ERROR: Deferred-shape entity of vector(integer(4)) type is not supported
14 vector(integer), allocatable :: var1(:)
15 !ERROR: Deferred-shape entity of vector(integer(4)) type is not supported
16 vector(integer), pointer :: var2(:)
17 end subroutine vec_type_test
18
19 subroutine vec_pair_type_test(arg1, arg2, arg3, arg4)
20 !ERROR: Assumed-shape entity of __vector_pair type is not supported
21 __vector_pair :: arg1(:)
22 !ERROR: Assumed Rank entity of __vector_pair type is not supported
23 __vector_pair :: arg2(..)
24 !ERROR: Deferred-shape entity of __vector_pair type is not supported
25 __vector_pair, allocatable :: arg3(:)
26 !ERROR: Deferred-shape entity of __vector_pair type is not supported
27 __vector_pair, pointer :: arg4(:)
28 !ERROR: Deferred-shape entity of __vector_pair type is not supported
29 __vector_pair, allocatable :: var1(:)
30 !ERROR: Deferred-shape entity of __vector_pair type is not supported
31 __vector_pair, pointer :: var2(:)
32 end subroutine vec_pair_type_test
33
34 subroutine vec_quad_type_test(arg1, arg2, arg3, arg4)
35 !ERROR: Assumed-shape entity of __vector_quad type is not supported
36 __vector_quad :: arg1(:)
37 !ERROR: Assumed Rank entity of __vector_quad type is not supported
38 __vector_quad :: arg2(..)
39 !ERROR: Deferred-shape entity of __vector_quad type is not supported
40 __vector_quad, allocatable :: arg3(:)
41 !ERROR: Deferred-shape entity of __vector_quad type is not supported
42 __vector_quad, pointer :: arg4(:)
43 !ERROR: Deferred-shape entity of __vector_quad type is not supported
44 __vector_quad, allocatable :: var1(:)
45 !ERROR: Deferred-shape entity of __vector_quad type is not supported
46 __vector_quad, pointer :: var2(:)
47 end subroutine vec_quad_type_test