! { dg-do compile } ! PR fortran/83742 ! Contributed by Gerhard Steinmetz program p real, target :: a real, pointer, contiguous :: b => a ! { dg-error "has the CONTIGUOUS attribute" } end