Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / storage_size_6.f90
blob503829231cc03574a53f8512c21ae6fff81f59d3
1 ! { dg-do compile }
2 ! PR fortran/66043
4 ! Original code from Gerhard Steinmetz
5 ! <gerhard dot steinmetz dot fortran at t-online dot de>
6 program p
7 print *, storage_size(null()) ! { dg-error "cannot be an actual" }
8 end