OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [fmt_g0_2.f08] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-options "-std=f95 -pedantic -fall-intrinsics" }
3
! { dg-shouldfail "Zero width in format descriptor" }
4
! PR36420 Fortran 2008: g0 edit descriptor
5
! Test case provided by Jerry DeLisle 
6
    character(25) :: string = "(g0,g0,g0)"
7
    character(33) :: buffer
8
    write(buffer, string) ':',0,':'
9
    if (buffer.ne.":0:") call abort
10
end
11
! { dg-output "Fortran runtime error: Zero width in format descriptor(\n|\r\n|\r)" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.