Look at the benchmark `testApps/ChatGPT_Benchmarks/EXN_nullptr` as an example of this behavior. Commit hash 0ed75d27c737cffa44d598e67a700531040618fe.