// PR c++/32565 // { dg-do compile } // { dg-options "-std=c++0x" } template struct A1; template class T> struct A1 > {}; template struct B1 {}; A1 > a1; template struct B2 {}; A1 > a2; // { dg-error "incomplete type" }