Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gdc.dg
/
pr89041.d
blob: b51643c77f78a5e43398214f6270fc6b02f2b9c0 [
file
] [
log
] [
blame
]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89041
// { dg-do compile }
module
pr89041
;
enum
dg
=
delegate
{};
void
fn
()
{
auto
var
=
dg
;
auto
inner
()
{
return
dg
();
}
}