1 | @import cxx_templates_common; |
---|---|
2 | |
3 | inline 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; |
8 | inline D UseD() { return D(); } |
9 | } |
10 |