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

cat <<'EOF' > expected
42,123
EOF
bash ../../test_diff.sh <<'EOF'
int printf();

#define A foo_a
#define B foo_b

int main() {
    int foo_a = 42;
    int foo_b = 123;

    printf("%d,%d\n", A, B);

    return 0;
}
EOF