1! { dg-do run }
2! { dg-options "-fcray-pointer" }
3!
4use iso_c_binding
5real target(10)
6real pointee(10)
7pointer (ipt, pointee)
8integer(c_intptr_t) :: int_cptr
9real :: x
10if (c_sizeof(ipt) /= c_sizeof(int_cptr)) call abort()
11if (c_sizeof(pointee) /= c_sizeof(x)*10) call abort()
12end
13