llvm-project/clang/test/Modules/Inputs/gmodules-deduction-guide.h
Akira Hatanaka 3ba6ace3cc [gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in
DebugTypeVisitor

This recommits d1346e2. I've added a line to the test case to enable it
only on assert builds.

Differential Revision: https://reviews.llvm.org/D125839
2022-06-06 19:12:26 -07:00

12 lines
118 B
C++

struct A {
};
template <class T>
struct S{
S(const A &);
};
S(const A&) -> S<A>;
typedef decltype(S(A())) Type0;