blob: c9878026cbf7c90dcbbb0e7a4fa2a7bef4fffdab (
plain)
1
2
3
4
5
6
|
! { dg-do compile }
! PR20847 - A common variable may not have the SAVE attribute.
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
INTEGER, SAVE :: X
COMMON /COM/ X ! { dg-error "conflicts with SAVE attribute" }
END
|