blob: cea25660dce083fadd1e4fb20296f43c95d2800e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
! { dg-do compile }
! PR fortran/34202
! ICE on contruction of empty types
! Testcase contributed by Tobias Burnus
program bug4a
implicit none
type bug4
! Intentionally left empty
end type bug4
type compound
type(bug4) b
end type compound
type(bug4), parameter :: f = bug4()
type(compound), parameter :: g = compound(bug4())
end program bug4a
|