llvm-project/clang/test/Modules/Inputs/cxx-templates-d.h

10 lines
294 B
C
Raw Normal View History

@import cxx_templates_common;
inline int InstantiateWithAnonymousDeclsD(WithAnonymousDecls<char> x) { return (x.k ? x.a : x.b) + (x.k ? x.s.c : x.s.d) + x.e; }
namespace TestInjectedClassName {
template<typename T> struct X { X(); };
typedef X<int> D;
inline D UseD() { return D(); }
}