summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/class_44.f03
blob: f8e4004c026830f38a9bc0a33d14bdee158fd822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
! { dg-do compile }
!
! PR 49112: [4.6/4.7 Regression] [OOP] Missing type-bound procedure, "duplicate save" warnings and internal compiler error
!
! Contributed by John <jwmwalrus@gmail.com>

    implicit none
    save

    type :: DateTime
    end type

    class(DateTime), allocatable :: dt

end