aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr77978_3.f90
blob: 0a3557be64a59e151141859d97cd79ca782cfd23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
! { dg-do compile }
! { dg-options "-std=f2008" }
subroutine a1
  integer, parameter :: i = -666
  stop i
end subroutine a1

subroutine a2
  stop -666
end subroutine a2

subroutine a3
  integer, parameter :: i = 123456
  stop i
end subroutine a3

subroutine a4
  stop 123456
end subroutine a4

subroutine a5
  stop merge(667,668,.true.) 
end subroutine a5