// PR c++/44609 // { dg-options -ftemplate-depth=10 } template void f() { 0 = 0; // { dg-error "lvalue required" } f(); // { dg-bogus "instantiation depth" } } int main() { f<0>(); }