summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr32801.f03
blob: 10439240e766012c1bc51968742317bd36155126 (plain)
1
2
3
4
5
6
! { dg-do compile }
! Verify that C_PTR is auto generated because it's needed by C_LOC.
! This tests that PR 32801 is fixed.
PROGRAM c_loc_prob
  USE, INTRINSIC :: ISO_C_BINDING, ONLY: C_LOC 
END PROGRAM c_loc_prob