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

cat <<'EOF' > expected
42 123 999
EOF

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

char a = 42;
short b = 123;
int c = 999;

int main() {
    printf("%d %d %d\n", a, b, c);
}
EOF