struct Outer { template struct Inner {}; }; void f() { Outer::Inner<2> i; }