modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr91589.f90
blob375d895e0b7322389f382709ce09f6a14fdb283f
1 ! { dg-do compile }
3 ! Check the fix for PR91589, in which the invalid expression caused an ICE.
4 ! Other statements using this invalid expression cause "Unclassifiable statement at..."
6 ! Contributed by Gerhardt Steinmetz <gscfq@t-online.de>
8 program p
9 type t
10 integer :: a
11 end type
12 type(t) :: x = t(1)
13 call sub (x%a%a) ! { dg-error "is not an inquiry reference" }
14 end