summary refs log tree commit diff
path: root/bin/cash/tests/parser/func2.0
blob: 93f29b2d342da28d70887d57932636d4d4e1f383 (plain) (blame)
1
2
3
4
5
6
# $FreeBSD: releng/12.0/bin/sh/tests/parser/func2.0 222512 2011-05-30 21:49:59Z jilles $

f() { return 42; }
f() { return 3; } &
f
[ $? -eq 42 ]