]> git.cameronkatri.com Git - apple_cmds.git/blob - shell_cmds/sh/tests/parser/no-space1.0
Import macOS userland
[apple_cmds.git] / shell_cmds / sh / tests / parser / no-space1.0
1 # $FreeBSD: head/bin/sh/tests/parser/no-space1.0 218891 2011-02-20 17:28:58Z jilles $
2
3 # These are ugly but are required to work.
4
5 set -e
6
7 while(false)do(:)done
8 if(false)then(:)fi
9 if(false)then(:)else(:)fi
10 (:&&:)||:
11 until(:)do(:)done
12 case x in(x);;*)exit 1;(:)esac
13 case x in(x);;*)exit 1;;esac
14 for i do(:)done
15 {(:)}
16 f(){(:)}
17 :|:
18 (:)|(:)