2 ! { dg-additional-sources c_size_t_driver.c }
4 use, intrinsic :: iso_c_binding
7 subroutine sub0(my_c_size) bind(c)
8 integer(c_int), value :: my_c_size ! value of C's sizeof(size_t)
10 ! if the value of c_size_t isn't equal to the value of C's sizeof(size_t)
12 if(c_size_t .ne. my_c_size) then
16 end module c_size_t_test
18 ! { dg-final { cleanup-modules "c_size_t_test" } }