Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/advance_3.f90 @ 120:f93fa5091070
fix conv1.c
author | mir3636 |
---|---|
date | Thu, 08 Mar 2018 14:53:42 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } subroutine foo real :: a a = 1 write(*, '(a)', advance=a) "hello world" ! { dg-error "must be of type CHARACTER" } end subroutine foo subroutine bar write(*, '(a)', advance=5.) "hello world" ! { dg-error "must be of type CHARACTER" } end subroutine bar