2 ! { dg-options "-std=f2008ts -fdump-tree-original" }
4 ! Check relaxed TS29113 constraints for procedures
5 ! and c_f_*pointer argument checking for c_ptr/c_funptr.
12 integer, external :: noCsub
13 procedure(integer), pointer :: fint
15 cfp
= c_funloc (noCsub
)
16 call c_f_procpointer (cfp
, fint
)
19 ! { dg-final { scan-tree-dump-times "cfp =\[^;\]+ nocsub;" 1 "original" } }
20 ! { dg-final { scan-tree-dump-times "fint =\[^;\]+ cfp;" 1 "original" } }
21 ! { dg-final { cleanup-tree-dump "original" } }