2 ! { dg-options "-std=f95" }
6 ! Initialization expressions:
7 ! Fortran 95: Elemental functions w/ integer/character arguments
8 ! Fortran 2003: restriction lifted
10 integer :: a
= sign(1,1) ! Ok F95
11 real :: b
= sign(1.,1.) ! { dg-error "Fortran 2003: Elemental function as initialization expression" }