Should the compiler hint/warn when passing object instances directly as const interface parameters?
It’s a bug. The conversion from instance to interface reference in RunLeakCrash should be to a temporary variable, keeping it alive for the duration of RunLeakCrash.