summary refs log tree commit diff
path: root/bin/cash/tests/builtins/lineno2.0
blob: e232632dce781e6beb1a0a033f9d8b5691402e0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/lineno2.0 262565 2014-02-27 16:54:43Z jilles $

f() {
	: ${LINENO+${x?}}
}

unset -v x
command eval f 2>/dev/null && exit 3
x=1
f