fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
1e858eae3
master
1# RUN: %fish %s 2 3# See issue 5692 4 5function empty 6end 7 8# functions should not preserve $status 9false 10empty 11echo $status 12# CHECK: 0 13true 14empty 15echo $status 16# CHECK: 0 17 18# blocks should preserve $status 19false 20begin 21end 22echo $status 23# CHECK: 1 24true 25begin 26end 27echo $status 28# CHECK: 0