dmd/compiler/test/dshell/extra-files/dwarf/delegates.d
2022-07-09 18:53:07 +02:00

10 lines
218 B
D

/*
EXTRA_ARGS: -defaultlib=
*/
void main()
{
auto dg = delegate() @safe pure nothrow @nogc {};
auto dg_gc_sys = delegate() @system pure nothrow { new int[10]; };
auto dg_lazy = delegate(lazy void f) {};
}