// { dg-do compile } // PR c++/17221 #include template struct Bar; template <> struct Bar<3> {}; template struct Foo { Bar k; }; struct A { int a; }; template struct Foo;