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
|
|
|
|
|
|
|
|
#CHECKERR: {{.*}} The function call stack limit has been exceeded. {{.*}}
|
|
|
|
#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: {{.*}}
|