URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [block_4.f08] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-std=f2008" }! Check for label mismatch errors with BLOCK statements.PROGRAM mainIMPLICIT NONEBLOCKEND BLOCK wrongname ! { dg-error "Syntax error" }myname: BLOCKEND BLOCK wrongname ! { dg-error "Expected label 'myname'" }myname2: BLOCKEND BLOCK ! { dg-error "Expected block name of 'myname2'" }END PROGRAM main ! { dg-error "Expecting END BLOCK" }! { dg-excess-errors "Unexpected end of file" }
