Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / allocate_derived_3.f90
blob0cd15118e2c6ad4158b3db283bf0cd619b3250fe
1 ! { dg-do compile }
3 ! PR 44929: [OOP] Parsing error of derived type name starting with 'REAL'
5 ! Contributed by Satish.BD <bdsatish@gmail.com>
7 type :: real_type
8 end type
9 class(real_type), allocatable :: obj
10 real(8), allocatable :: r8
12 allocate(real_type :: obj)
14 allocate( real(kind=8) :: r8)
15 allocate(real(8) :: r8 )
17 end