mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-28 11:30:19 +00:00
14 lines
338 B
Fortran
14 lines
338 B
Fortran
! { dg-do compile }
|
|
! { dg-options "-std=f2008" }
|
|
!
|
|
! PR fortran/33197
|
|
!
|
|
! Check implementation of PARITY
|
|
!
|
|
implicit none
|
|
print *, parity([real ::]) ! { dg-error "must be LOGICAL" })
|
|
print *, parity([integer ::]) ! { dg-error "must be LOGICAL" }
|
|
print *, parity([logical ::])
|
|
print *, parity(.true.) ! { dg-error "must be an array" }
|
|
end
|