blob: 269b9de11372b19b1330cf9c06aa4d77e070f202 [file] [log] [blame]
// PR c++/59791
// We force the gimple dump to trigger use of lang_decl_name.
// { dg-do compile { target c++11 } }
// { dg-options "-fdump-tree-gimple" }
template < class T > void
f (T t)
{
int i = t;
[](int)->decltype (i + t)
{
return 0;
}
(0);
}
void
foo ()
{
f (0);
}