// PR c++/84720 // { dg-do compile { target c++11 } } template // { dg-error "not a valid type" } struct a { template static void b() { b(); } };