summaryrefslogtreecommitdiffstats
path: root/test/bashisms/return.sh
blob: c6735e002e13197ea67507e91d530053eeb720da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

foo() {
    return -- 1 # BASHISM
}

bar () {
    return 256 # BASHISM
}

moo () {
    return -1 # BASHISM
}