aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/093.sh
blob: a22e16834398a08de4725420449351c72731223b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cat <<'EOF' > expected
42
246
221
EOF

test_diff <<'EOF'
int printf();

#define A(x) x
#define B(x) x+x
#define C(x, y) x*y

int main() {
    printf("%d\n", A(42));
    printf("%d\n", B
    (123));
    printf("%d\n", C (13, 17));
}
EOF