* cfghooks.c (verify_flow_info): Disable check that all probabilities
[official-gcc.git] / gcc / testsuite / gfortran.dg / block_4.f08
blob4c63194c85d8a8b239c22aa65ec636cef3098da9
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008" }
4 ! Check for label mismatch errors with BLOCK statements.
6 PROGRAM main
7   IMPLICIT NONE
9   BLOCK 
10   END BLOCK wrongname ! { dg-error "Syntax error" }
12   myname: BLOCK
13   END BLOCK wrongname ! { dg-error "Expected label 'myname'" }
15   myname2: BLOCK
16   END BLOCK ! { dg-error "Expected block name of 'myname2'" }
17 END PROGRAM main ! { dg-error "Expecting END BLOCK" }
18 ! { dg-excess-errors "Unexpected end of file" }