c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr57553.f90
blobafd0cc14d90abf90d029f4689648ec775fe6e5a0
1 ! { dg-do compile }
3 ! PR fortran/57553 - bad error message for invalid use of STORAGE_SIZE
5 ! Testcase contributed by Tobias Burnus
7 subroutine S (A)
8 character(len=*), intent(in) :: A
9 integer, parameter :: ESize = (storage_size(a) + 7) / 8 ! { dg-error "does not reduce to a constant" }
10 end