summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/external_initializer.f90
blob: eec240917180881f32f6faa5c35d460a1be5bc79 (plain)
1
2
3
4
5
! { dg-do compile }
! PR20849 - An external symbol may not have a initializer.
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
REAL, EXTERNAL :: X=0 ! { dg-error "not have an initializer" }
END