1! { dg-do compile } 2! { dg-options "-std=f95" } 3subroutine a1 4 integer, parameter :: i = -666 5 stop i ! { dg-error "cannot be negative" } 6end subroutine a1 7 8subroutine a2 9 stop -666 ! { dg-error "cannot be negative" } 10end subroutine a2 11 12subroutine a3 13 integer, parameter :: i = 123456 14 stop i ! { dg-error "too many digits" } 15end subroutine a3 16 17subroutine a4 18 stop 123456 ! { dg-error "too many digits" } 19end subroutine a4 20 21!subroutine a5 22! stop merge(667,668,.true.) 23!end subroutine a5 24