1 @import cxx_templates_common; 2 InstantiateWithAnonymousDeclsD(WithAnonymousDecls<char> x)3inline int InstantiateWithAnonymousDeclsD(WithAnonymousDecls<char> x) { return (x.k ? x.a : x.b) + (x.k ? x.s.c : x.s.d) + x.e; } 4 5 namespace TestInjectedClassName { 6 template<typename T> struct X { X(); }; 7 typedef X<int> D; UseD()8 inline D UseD() { return D(); } 9 } 10