Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/pr79435.C

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