Ilya Biryukov | 6597fdd | 2019-02-12 14:21:44 +0000 | [diff] [blame] | 1 | // RUN: not %clang_cc1 -x c++ -std=c++17 -fsyntax-only %s |
2 | template <typename U> | ||||
3 | class Imp { | ||||
4 | template <typename F> | ||||
5 | explicit Imp(F f); | ||||
6 | }; | ||||
7 | |||||
8 | template <typename T> | ||||
9 | class Cls { | ||||
10 | explicit Imp() : f() {} | ||||
11 | }; |