1 // https://issues.dlang.org/show_bug.cgi?id=21443
7 fail_compilation/test21443.d(14): Deprecation: `return` statements cannot be in `scope(failure)` bodies.
8 fail_compilation/test21443.d(14): Use try-catch blocks for this purpose
12 ulong get () @safe nothrow
14 scope (failure
) return 10;
20 assert(get() == 10); // passes