| 1 |
! RUN: %python %S/../test_errors.py %s %flang_fc1 |
| 2 |
! REQUIRES: target=aarch64{{.*}} || target=arm{{.*}} || target=x86{{.*}} |
| 3 |
|
| 4 |
program 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 |
| 21 |
end program ppc_vec_types04 |