Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / c_sizeof_2.f90
blobe163797470fc3a95589cd9265c73940a28495953
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003 -Wall -Wno-conversion" }
3 ! Support F2008's c_sizeof()
5 USE ISO_C_BINDING, only: C_SIZE_T, c_sizeof ! { dg-error "new in Fortran 2008" }
6 integer(C_SIZE_T) :: i
7 i = c_sizeof(i)
8 end