* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-auto1.C
blobb9e98c551c02b6316ce491baa648db90a155d1c3
1 // Related to c++/81525
2 // { dg-do compile { target c++14 } }
4 template <class X>
5 struct A
7   template <class T>
8   static void f()
9   {
10     [](auto b) {
11       auto c = +b;
12     }(42);
13   }
16 int main()
18   A<int>::f<int>();