blob: 203ac5e231004e508fce0fac033c344deefe68ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
set -e
cat <<'EOF' > expected
579
975
EOF
bash ../../test_diff.sh <<'EOF'
#define foo 123 + 456
#define bar() 321 + 654
int printf();
int main() {
printf("%d\n", foo);
printf("%d\n", bar());
}
EOF
|