C++: fix-it hint for missing "typename" (PR c++/63392)
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr85687.f90
blob03bc2119364c65a0c99792cd4ccc9f0fb3bf6e9c
1 ! { dg-do compile }
2 ! PR fortran/85687
3 ! Code original contributed by Gerhard Steinmetz gscfq at t-oline dot de
4 program p
5 type t
6 end type
7 print *, rank(t) ! { dg-error "must be a data object" }
8 end