blob: 6be03e5522e2fa2ebaafc0dbccdccff846fee8e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
cat <<'EOF' > expected
h
l
,
EOF
test_diff <<'EOF'
int printf();
int main() {
char* h = " hello,world" + 1;
printf("%c\n", *h);
printf("%c\n", h[2]);
printf("%c\n", *(h + 5));
}
EOF
|