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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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(); }
}