awk: fix a SEGV

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-09-11 00:30:56 +02:00
parent d48fdde370
commit 7b46d11582
2 changed files with 65 additions and 9 deletions

View File

@@ -202,4 +202,7 @@ end d
" \
"" ""
testing "awk handles empty ()" \
"awk 'BEGIN {print()}' 2>&1" "awk: cmd. line:1: Empty sequence\n" "" ""
exit $FAILCOUNT