2 ! Tests patch for PR23091, in which autmatic objects caused
3 ! an ICE if they were given the SAVE attribute.
5 ! Contributed by Valera Veryazov <valera.veryazov@teokem.lu.se>
10 save ! OK because only allowed objects are saved globally.
16 integer, save :: myArray(n1
) ! { dg-error "SAVE attribute" }
17 character(n1
), save :: ch
! { dg-error "SAVE attribute" }