xref: /llvm-project/flang/test/Semantics/PowerPC/ppc-vector-types03.f90 (revision a9e1d2e760b502fb31ad522b0885a2150f008e86)
1! RUN: %python %S/../test_errors.py %s %flang_fc1
2! REQUIRES: target=aarch64{{.*}} || target=arm{{.*}} || target=x86{{.*}}
3
4program ppc_vec_types04
5  implicit none
6!ERROR: Vector type is only supported for PowerPC
7!ERROR: No explicit type declared for 'vi'
8  vector(integer(4)) :: vi
9!ERROR: Vector type is only supported for PowerPC
10!ERROR: No explicit type declared for 'vr'
11  vector(real(8)) :: vr
12!ERROR: Vector type is only supported for PowerPC
13!ERROR: No explicit type declared for 'vu'
14  vector(unsigned(2)) :: vu
15!ERROR: Vector type is only supported for PowerPC
16!ERROR: No explicit type declared for 'vp'
17  __vector_pair :: vp
18!ERROR: Vector type is only supported for PowerPC
19!ERROR: No explicit type declared for 'vq'
20  __vector_quad :: vq
21end program ppc_vec_types04
22