// PR c++/17826 struct A { template static int foo(); }; template struct B {}; template void bar() { B()> b1; B()> b2; }