2019-11-11 04:17:54 +08:00
|
|
|
#RUN: %fish %s
|
|
|
|
|
|
|
|
# Check that we correctly detect an overflow of fish's function stack.
|
|
|
|
# This is dependent on the internal max stack depth of course.
|
|
|
|
|
|
|
|
function left
|
|
|
|
right
|
|
|
|
end
|
|
|
|
|
|
|
|
function right
|
|
|
|
left
|
|
|
|
end
|
|
|
|
|
|
|
|
left
|
|
|
|
|
2022-10-26 02:23:30 +08:00
|
|
|
#CHECKERR: {{.*}} The call stack limit has been exceeded. {{.*}}
|
2019-11-11 04:17:54 +08:00
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
2019-11-11 04:36:46 +08:00
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
2019-11-11 04:17:54 +08:00
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|
|
|
|
#CHECKERR: {{.*}}
|