1! { dg-do run }
2! { dg-additional-sources c_size_t_driver.c }
3module c_size_t_test
4  use, intrinsic :: iso_c_binding
5
6contains
7  subroutine sub0(my_c_size) bind(c)
8    integer(c_int), value :: my_c_size ! value of C's sizeof(size_t)
9
10    ! if the value of c_size_t isn't equal to the value of C's sizeof(size_t) 
11    ! we call abort.
12    if(c_size_t .ne. my_c_size) then
13       call abort ()
14    end if
15  end subroutine sub0
16end module c_size_t_test
17