blob: c0203ef8c518b89aca3cddc01035a7ca9daf06df (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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() {}
};
|