PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_kind_tests_3.f03
blob5d5f3ab195f5291a7e6f37c31cdfc0f92538c488
1 ! { dg-do compile }
3 ! PR 47023: [4.6/4.7 regression] C_Sizeof: Rejects valid code
5 ! Contributed by <florian.rathgeber@gmail.com>
7   use iso_c_binding
8   real(c_double) x
9   print *, c_sizeof(x)
10   print *, c_sizeof(0.0_c_double)
11 end