// PR c++/23896 template struct X {}; template struct length { static const int value = 2; }; template void foo () { sizeof(X::value>); } template void foo();