diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/pr32801.f03')
-rw-r--r-- | gcc/testsuite/gfortran.dg/pr32801.f03 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr32801.f03 b/gcc/testsuite/gfortran.dg/pr32801.f03 new file mode 100644 index 000000000..10439240e --- /dev/null +++ b/gcc/testsuite/gfortran.dg/pr32801.f03 @@ -0,0 +1,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 |