nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr66465.f90
blobab8683050511e277f869a2ab2d8c6b16974ac0d8
1 ! { dg-do compile }
3 ! Tests the fix for PR66465, in which the arguments of the call to
4 ! ASSOCIATED were falsly detected to have different type/kind.
6 ! Contributed by Damian Rouson <damian@sourceryinstitute.org>
8 interface
9 real function HandlerInterface (arg)
10 real :: arg
11 end
12 end interface
14 type TextHandlerTestCase
15 procedure (HandlerInterface), nopass, pointer :: handlerOut=>null()
16 end type
18 type(TextHandlerTestCase) this
20 procedure (HandlerInterface), pointer :: procPtr=>null()
22 print*, associated(procPtr, this%handlerOut)
23 end