xref: /freebsd/bin/sh/tests/builtins/case20.0 (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1# $FreeBSD$
2
3# Shells do not agree about what this pattern should match, but it is
4# certain that it must not crash and the missing close bracket must not
5# be simply ignored.
6
7case B in
8[[:alpha:]) echo bad ;;
9esac
10