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

cat <<'EOF' > expected
123
460
EOF

bash ../../test_diff.sh <<'EOF'
int printf();

int main() {
    printf("%d\n", 0 | 123);
    printf("%d\n", 12 | 456);
}
EOF