1! { dg-do compile } 2! PR fortran/20883 3 write (*, a) b ! { dg-error "must be of type default-kind CHARACTER or of INTEGER" } 4 end 5