* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-dep2.C
blob91e3804cb0bf2ffc19d9f959565d8c80c2bfab86
1 // { dg-do compile { target c++14 } }
3 struct A { void operator()(int) const {} };
5 template <class T>
6 void f()
8   constexpr A a {};
10   [=](auto b) {
11     a(b);
12   }(42);
15 int main()
17   f<int>();