PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_by_val_3.f90
blobbf7aedf8ba4a7f08e1c27761af0a6dd857b5028e
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 program c_by_val_3
4 external bar
5 real (4) :: bar
6 print *, bar (%VAL(0.0)) ! { dg-error "argument list function" }
7 end program c_by_val_3