// PR c++/79435 // { dg-do compile { target c++14 } } struct A; extern A a; // { dg-error "'a' has incomplete type" } template < int > int f = a.x;