Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/pr78523.C

raw
1 // PR c++/78523
2 // { dg-do compile { target c++14 } }
3
4 int bar ();
5
6 void
7 foo ()
8 {
9 const int t = bar ();
10 auto f = [=] (auto x) { return t; };
11 f (0);
12 }