blob: 2a32f31a08111c2a828a33a256f77f827e831173 (
plain)
1
2
3
4
5
6
7
8
9
|
! { dg-do compile }
! { dg-options "-Wunused-label" }
! PR 26277
! We used to give an incorect warning about label 99 not being referenced
open(unit=12,err=99)
99 print *,"could not open file ..."
98 continue ! { dg-warning "Label 98 .* defined but not used" }
close(unit=12,status="delete")
end
|