aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/071.sh
blob: 6af34eed5c2a92d37a4ac4be64d3ac341a85fa57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cat <<'EOF' > expected
579
975
EOF

test_diff <<'EOF'
#define foo 123 + 456
#define bar() 321 + 654

int printf();

int main() {
    printf("%d\n", foo);
    printf("%d\n", bar());
}
EOF