1! { dg-do compile } 2! { dg-options "-std=f2008" } 3! 4! PR fortran/33197 5! 6! Check implementation of PARITY 7! 8implicit none 9print *, parity([real ::]) ! { dg-error "must be LOGICAL" }) 10print *, parity([integer ::]) ! { dg-error "must be LOGICAL" } 11print *, parity([logical ::]) 12print *, parity(.true.) ! { dg-error "must be an array" } 13end 14