1 /* REQUIRED_ARGS: -dip25
4 fail_compilation/test16228.d(22): Error: function type 'return int()' has 'return' but does not return any indirections
5 fail_compilation/test16228.d(23): Error: function test16228.S.foo static member has no 'this' to which 'return' can apply
11 // https://issues.dlang.org/show_bug.cgi?id=16228
13 int* wrap ( return ref int input )
22 int foo() return { return 3; }
23 static ref int foo() return { return x; }