blob: fdb35b44199bdaa26922feede76e90cdc78f81be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
! { dg-do compile }
! Code contributed by Gerhard Steinmetz
program p
call q
call r
end program p
subroutine q
print *, -merge([3,4], 0, [.false.,.true.])
end
subroutine r
print *, 2 + merge([3,4], 0, [.false.,.true.])
end
|