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

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

test_diff <<'EOF'
#define B __FILE__
#include "header.h"
int printf();
int main() {
    printf("%s\n", __FILE__);
    printf("%s\n", B);
    printf("%s\n", A);
}
EOF