Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gfortran.dg / class_3.f03
blob8e15f0e57a577739c2445a2f28a2f2679e30d7c7
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
4 ! PR 40940: [F03] CLASS statement
6 ! Contributed by Janus Weil <janus@gcc.gnu.org>
8  type :: t
9   integer :: comp
10  end type
12  class(t), pointer :: cl  ! { dg-error "CLASS statement" }
14 end