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

cat <<'EOF' > header.h
#define A 42
EOF

test_diff <<'EOF'
#include "header.h"

int printf();

int main() {
    printf("%d\n", A);
    return 0;
}
EOF