URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [error_stop_2.f08] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! PR44371 STOP parsing rejects valid code.
real, dimension(5,5,5) :: i
character(1) c, y
y = 'y'
read(y,*) c
if (c=='x') stop; if (c=='X') stop
if (c=='x') stop size(i); if (c=='X') stop
if (c=='y') stop size(i) if (c=='Y') stop ! { dg-error "Syntax error in STOP" }
end
Go to most recent revision | Compare with Previous | Blame | View Log