blob: ee440b51ff96d3bf017ff42cad767f6e1499a50a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
set -e
cat <<'EOF' > expected
105
0
EOF
bash ../../test_diff.sh <<'EOF'
int printf();
int main() {
char* s = "hi";
while (*s++) {
printf("%d\n", *s);
}
}
EOF
|