URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [byte_1.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-fall-intrinsics -std=f95" }program testbyteinteger(1) :: ii = 7call foo(ii)end program testbytesubroutine foo(ii)integer(1) iibyte b ! { dg-error "BYTE type" }b = iicall bar(ii,b)end subroutine foosubroutine bar(ii,b)integer (1) iibyte b ! { dg-error "BYTE type" }if (b.ne.ii) then! print *,"Failed"call abortend ifend subroutine bar
