xref: /freebsd/bin/sh/tests/parser/no-space1.0 (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1# $FreeBSD$
2
3# These are ugly but are required to work.
4
5set -e
6
7while(false)do(:)done
8if(false)then(:)fi
9if(false)then(:)else(:)fi
10(:&&:)||:
11until(:)do(:)done
12case x in(x);;*)exit 1;(:)esac
13case x in(x);;*)exit 1;;esac
14for i do(:)done
15{(:)}
16f(){(:)}
17:|:
18(:)|(:)
19