[MemCpyOpt] Add test for unreachable capture (NFC)
This is based on the test from D90688, without the argmemonly attribute. The argmemonly attribute would guaranteed no modref by itself and the question of captures would not arise in the first place.
Loading
Please sign in to comment