aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/039.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/039.sh')
-rw-r--r--tests/039.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/039.sh b/tests/039.sh
deleted file mode 100644
index f00d024..0000000
--- a/tests/039.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-cat <<'EOF' > expected
-65
-65
-66
-67
-68
-EOF
-test_diff <<'EOF'
-void* calloc();
-int printf();
-
-int main() {
- char* source = calloc(4, sizeof(char));
-
- source[0] = 'A';
- source[1] = 'B';
- source[2] = 'C';
- source[3] = 'D';
-
- int a = source[0];
-
- printf("%d\n", a);
- printf("%d\n", source[0]);
- printf("%d\n", source[1]);
- printf("%d\n", source[2]);
- printf("%d\n", source[3]);
-
- return 0;
-}
-EOF