Description
In trying out a workaround to this closed issue #8083, I found that passing the derived class to an inout parameter of the base class will fail to compile. See this code.
Steps to Reproduce
Tried to compile on godbolt with -E main -T cs_6_8 -HV 202x -spirv on DXC trunk.
It should be noted that without inout, it compiles fine. See code
Actual Behavior
I would expect it to compile fine just as it does without inout specifier.
Environment
- DXC version trunk (1.8.2505)
- Host Operating System Windows