aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/119.sh
blob: be485cf0a27e4cefeddcdc3647053bc8035572ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cat <<'EOF' > expected
1,0
1,1,1
EOF
test_diff <<'EOF'
int printf(const char*, ...);

int main() {
    bool b1 = true, b0 = false;
    printf("%d,%d\n", b1, b0);
    printf("%d,%d,%d\n", sizeof(b1), sizeof(b0), sizeof(bool));
}
EOF