brintos

brintos / llvm-project-archived public Read only

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