struct Outer { Outer() {} template struct Inner {}; }; int main() { Outer::Inner oi; }