blob: f0b406dfbfbdde7cb1151d59340328086f620cc4 [file] [log] [blame]
// PR c++/79420
struct S;
extern S s; // { dg-error "'s' has incomplete type" }
template<int> int f ()
{
return s.x;
}
void g ()
{
f<0> ();
}