i386: Correct AVX10 CPUID emulation
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr18392.f90
blob62c3a75f64f25426686ddeadc35c9ede3719ed2e
1 ! { dg-do run }
2 ! pr 18392
3 ! test namelist with derived types
4 ! Based on example provided by thomas.koenig@online.de
6 program pr18392
7 implicit none
8 type foo
9 integer a
10 real b
11 end type foo
12 type(foo) :: a
13 namelist /nl/ a
14 open (10, status="scratch")
15 write (10,*) " &NL"
16 write (10,*) " A%A = 10,"
17 write (10,*) "/"
18 rewind (10)
19 read (10,nl)
20 close (10)
21 IF (a%a /= 10.0) STOP 1
22 end program pr18392