1 2 3 4 5 6 7 8 9 10 11 12
! { dg-do compile } ! { dg-options "-funsigned" } module mytype integer, parameter :: uk = selected_unsigned_kind(12) end module mytype module foo use mytype implicit none unsigned(uk), parameter :: seed0 = 1u_uk unsigned(uk), protected :: x_ = seed0 end module foo