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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [f2003_inquire_1.f03] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-options "-std=gnu" }
3
character(25) :: sround, ssign, sasynchronous, sdecimal, sencoding
4
integer :: vsize, vid
5
logical :: vpending
6
 
7
open(10, file='mydata', asynchronous="yes", blank="null", &
8
& decimal="comma", encoding="utf-8", sign="plus")
9
 
10
inquire(unit=10, round=sround, sign=ssign, size=vsize, id=vid, &
11
& pending=vpending, asynchronous=sasynchronous, decimal=sdecimal, &
12
& encoding=sencoding)
13
 
14
if (ssign.ne."PLUS") call abort
15
if (sasynchronous.ne."YES") call abort
16
if (sdecimal.ne."COMMA") call abort
17
if (sencoding.ne."UTF-8") call abort
18
if (vpending) call abort
19
 
20
close(10, status="delete")
21
end

powered by: WebSVN 2.1.0

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