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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [fmt_error_8.f] - 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 compile }
2
! { dg-options "-std=f95" }
3
! PR35754 -std=f95: Reject "1P2E12.4" w/o a comma after the "P" 
4
! PR
5
! Test case provided by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
6
      character(40) :: fmt_string
7
      write(*, '(1P2E12.4)') 1.0 ! { dg-error "Comma required" }
8
      write(*, '(1PT12,F12.4)') 1.0 ! { dg-error "Comma required" }
9
      write(*, '(1PE12.4)') 1.0 ! This is OK by the standard 10.1.1
10
      write (*,'(1PD24.15,F4.2,0P)') 1.0d0 ! This OK too.
11
      end

powered by: WebSVN 2.1.0

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