! { dg-do compile }!! PR 45577: [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error!! Contributed by Dominique d'Humieres <dominiq@lps.ens.fr>program maintype b_objinteger,allocatable::c(:)real::r=5.end type b_objtype(b_obj),allocatable::b(:)integer,allocatable::c(:)allocate(b(3),c(3))end program main