Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr69554-1.F90 @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 (2018-10-25) |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-fdiagnostics-show-caret" } ! { dg-allow-blank-lines-in-output 1 } program main goto 1000 1000 continue ! first instance a = a a = a a = a 1000 continue ! second instance end #if 0 ! { dg-locus "4" "" { target *-*-* } "7" } ! { dg-begin-multiline-output "" } 1000 continue ! first instance 1 ! { dg-end-multiline-output "" } ! { dg-locus "4" "" { target *-*-* } "11" } ! { dg-begin-multiline-output "" } 1000 continue ! second instance 2 Error: Duplicate statement label 1000 at (1) and (2) ! { dg-end-multiline-output "" } #endif