c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / selected_logical_kind_2.f90
blob6f18958eb371a9ccc31267558ed2ff6415f3b4c7
1 ! { dg-do compile }
2 ! { dg-options "-std=f2018" }
4 program selected
5 implicit none
7 logical(selected_logical_kind(1)) :: l ! { dg-error "has no IMPLICIT type" }
8 print *, selected_logical_kind(1) ! { dg-error "has no IMPLICIT type" }
9 end program