Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction100.C

raw
1 // PR c++/90782
2 // { dg-do compile { target c++17 } }
3
4 template<class... A>
5 struct bar {
6 template<class B>
7 bar(B& obj, void(B::*f)(A...)const=&B::operator()){}
8 };
9 int main() {
10 const auto f1 = [](){};
11 bar f8(f1);
12 }
13