// PR c++/81026 namespace std { template struct extent; } using namespace std; template struct S { void f() { T().template extent<42>(); } };