PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / f2003_inquire_1.f03
blobe51f619c863a5358989e6f025e84d9dcaa27cd8f
1 ! { dg-do run }
2 ! { dg-options "-std=gnu" }
3 character(25) :: sround, ssign, sasynchronous, sdecimal, sencoding
4 integer :: vsize, vid
5 logical :: vpending
7 open(10, file='mydata_f2003_inquire_1', asynchronous="yes", blank="null", &
8 & decimal="comma", encoding="utf-8", sign="plus")
10 inquire(unit=10, round=sround, sign=ssign, size=vsize, id=vid, &
11 & pending=vpending, asynchronous=sasynchronous, decimal=sdecimal, &
12 & encoding=sencoding)
14 if (ssign.ne."PLUS") STOP 1
15 if (sasynchronous.ne."YES") STOP 2
16 if (sdecimal.ne."COMMA") STOP 3
17 if (sencoding.ne."UTF-8") STOP 4
18 if (vpending) STOP 5
20 close(10, status="delete")
21 end