Debian Codegraph @

gcc/testsuite/gfortran.dg/common_15.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR 50515: gfortran should not accept an external that is a common (r178939)
4 !
5 ! Contributed by Vittorio Zecca <[email protected]>
6
7 common/sub/ a ! { dg-error "cannot have the EXTERNAL attribute" }
8 external sub
9 end