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();
}
}