(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.other/
linkage1.C
// { dg-do assemble { target { ! c++11 } } }
typedef struct {
  int i;
} *p;

void f (p) { }			// { dg-error "with no linkage" }
p q;				// { dg-warning "with no linkage" }

int main()
{
  extern p j;			// { dg-warning "with no linkage" }
  struct A { int j; };
  extern A a;			// { dg-warning "with no linkage" }
  extern void f (A);		// { dg-error "with no linkage" }
}