Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gfortran.dg/inquire-complex.f90 @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
111 | 1 ! { dg-do run } |
2 ! PR 23428: Inquire(iolength) used to give the wrong result. | |
3 program main | |
4 implicit none | |
5 integer s4, s8 | |
6 | |
7 complex(kind=8) c8 | |
8 complex(kind=4) c4 | |
9 | |
10 inquire (iolength=s4) c4 | |
11 inquire (iolength=s8) c8 | |
131 | 12 if (s4 /= 8 .or. s8 /= 16) STOP 1 |
111 | 13 |
14 end program main |