2 https://issues.dlang.org/show_bug.cgi?id=21807
7 fail_compilation/test21807.d(11): Deprecation: slice of static array temporary returned by `getSArray()` assigned to longer lived variable `this.str`
8 fail_compilation/test21807.d(12): Deprecation: slice of static array temporary returned by `getSArray()` assigned to longer lived variable `this.ca`
13 char[12] getSArray() pure;
22 str = getSArray(); // Should probably be a type error
30 fail_compilation/test21807.d(117): Error: function `test21807.addr(return ref int b)` is not callable using argument types `(int)`
31 fail_compilation/test21807.d(117): cannot pass rvalue argument `S(0).i` of type `int` to parameter `return ref int b`
41 int* addr(return ref int b
)
52 ptr
= addr(S().i
); // struct temporary