URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { dg-do compile }
|
! { dg-do compile }
|
! { dg-options "-std=f2008" }
|
! { dg-options "-std=f2008" }
|
|
|
! Check for label mismatch errors with BLOCK statements.
|
! Check for label mismatch errors with BLOCK statements.
|
|
|
PROGRAM main
|
PROGRAM main
|
IMPLICIT NONE
|
IMPLICIT NONE
|
|
|
BLOCK
|
BLOCK
|
END BLOCK wrongname ! { dg-error "Syntax error" }
|
END BLOCK wrongname ! { dg-error "Syntax error" }
|
|
|
myname: BLOCK
|
myname: BLOCK
|
END BLOCK wrongname ! { dg-error "Expected label 'myname'" }
|
END BLOCK wrongname ! { dg-error "Expected label 'myname'" }
|
|
|
myname2: BLOCK
|
myname2: BLOCK
|
END BLOCK ! { dg-error "Expected block name of 'myname2'" }
|
END BLOCK ! { dg-error "Expected block name of 'myname2'" }
|
END PROGRAM main ! { dg-error "Expecting END BLOCK" }
|
END PROGRAM main ! { dg-error "Expecting END BLOCK" }
|
! { dg-excess-errors "Unexpected end of file" }
|
! { dg-excess-errors "Unexpected end of file" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.