Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / diagnostic / extern-initialized.C
blob4138a37729677454e1026059a3265155e48f90f0
1 extern int i __attribute__((unused)) = 0;  // { dg-warning "12:.i. initialized and declared .extern." }
3 void foo()
5   extern int i __attribute__((unused)) = 0;  // { dg-error "14:.i. has both .extern. and initializer" }