OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [parity_2.f90] - Blame information for rev 749

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.