1 // PR c++/79463 2 // { dg-options "-g" } 3 // { dg-do compile { target c++14 } } 4 5 struct A; 6 extern A a; // { dg-error "'a' has incomplete type" } 7 template < int > int f = a.x; 8