☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr78523.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/pr78523.C
code
plain
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
}