aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/035.sh
blob: a32709e57dd66dcfbba4405b21a70f6bd61bdb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set -e

cat <<'EOF' > expected
0
1
0
EOF
bash ../../test_diff.sh <<'EOF'
int printf();

int main() {
    printf("%d\n", !1);
    printf("%d\n", !0);
    printf("%d\n", !23);
    return 0;
}
EOF