☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
save_common.f90
☽
☼
gcc/testsuite/gfortran.dg/save_common.f90
code
plain
raw
1
! { dg-do compile }
2
! PR20847 - A common variable may not have the SAVE attribute.
3
! Contributed by Joost VandeVondele <
[email protected]
>
4
INTEGER, SAVE :: X
5
COMMON /COM/ X ! { dg-error "conflicts with SAVE attribute" }
6
END