m68k: replace reload_in_progress by reload_in_progress || lra_in_progress
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-this2.C
blobd27ed713fff173762f1a996c56f5afd176aa6bf3
1 // PR c++/85764
2 // { dg-do compile { target c++14 } }
4 template<typename Key>
5 class trie {
6     static void for_each(int & f, trie const & n, Key & prefix) {
7         [&](trie const & c) {
8           for_each(f, c, prefix);
9         };
10     }
11     void for_each(int & f) const {
12     }