// { dg-do compile } // Contributed by: Giovanni Bajo #include template struct A {}; template struct B {}; A a; B b; // { dg-error "" }