Environment of redirections
Test added in r4139
POSIX does not specify which of assignments and redirections should be done first when there is no command name in a simple command. However, should the redirections be performed in a subshell, assignments need to be performed before the subshell is forked.
XCU 2.9.1 says:
This means:
Currently, the latter is not implemented in yash (and the former may or may not be well tested).
Test case: