// { dg-do compile { target c++14 } } template struct bar foo; template <> struct foo<>: // { dg-error "class template|redeclared" } // { dg-error "62:expected" "" { target *-*-* } .-1 }