llvm-for-llvmta/tools/clang/test/Sema/crash-deduction-guide-acces...

12 lines
204 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang_cc1 -x c++ -std=c++17 -fsyntax-only %s
template <typename U>
class Imp {
template <typename F>
explicit Imp(F f);
};
template <typename T>
class Cls {
explicit Imp() : f() {}
};