RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_assoc_4.f90
blob8a7fe736bc5f90df08c15e25e81dbdec5babc61e
1 ! { dg-do compile }
3 ! PR fortran/49023
5 PROGRAM test
7 USE, INTRINSIC :: iso_c_binding
8 IMPLICIT NONE
10 TYPE (C_PTR) :: x, y
12 PRINT *, C_ASSOCIATED([x,y]) ! { dg-error "'c_ptr_1' argument of 'c_associated' intrinsic at .1. must be a scalar" }
14 END PROGRAM test