Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/initialization_13.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-std=f95" } ! ! PR fortran/33178 ! ! Initialization expressions: ! Fortran 95: Elemental functions w/ integer/character arguments ! Fortran 2003: restriction lifted ! integer :: a = sign(1,1) ! Ok F95 real :: b = sign(1.,1.) ! { dg-error "Fortran 2003: Elemental function as initialization expression" } end