Debian Codegraph @

gcc/testsuite/gfortran.dg/pr120049_a.f90

raw
1 ! Compiled with pr120049_b.f90
2 ! { dg-options -O0 }
3 ! { dg-do run }
4 ! { dg-compile-aux-modules "pr120049_b.f90" }
5 ! { dg-additional-sources pr120049_b.f90 }
6 !
7 ! Test the fix for PR86248
8 program tests_gtk_sup
9 use gtk_sup
10 implicit none
11 type(c_ptr), target :: val
12 if (c_associated(val, c_loc(val))) then
13 stop 1
14 endif
15 if (c_associated(c_loc(val), val)) then
16 stop 2
17 endif
18 end program tests_gtk_sup