aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/fmt_g0_3.f08
blob: b0b8139a3f3c21ed59842bf8e3eb3c3989e8b68b (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! { dg-options "-std=f95" }! PR36420 Fortran 2008: g0 edit descriptor 
! Test case provided by Jerry DeLisle <jvdelisle@gcc.gnu.org>
    character(25) :: string = "(g0,g0,g0)" 
    character(33) :: buffer
    write(buffer, '(g0,g0,g0)') ':',12340,':' ! { dg-error "Fortran 2008:" }
end