float4 foo(...) : SV_TARGET { ... } is sugar for struct R { float4 stuff : SV_TARGET; } R foo(...) { ... }
*** This bug has been marked as a duplicate of bug 189134 ***
Migrated to https://github.com/gpuweb/WHLSL/issues/38