From 91698fd0a58efb98d2e7cee97258e62598c932fa Mon Sep 17 00:00:00 2001 From: Frits van Bommel Date: Wed, 25 Mar 2009 13:46:49 +0100 Subject: [PATCH] Remove a duplicate minitest --- tests/mini/arrays15.d | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 tests/mini/arrays15.d diff --git a/tests/mini/arrays15.d b/tests/mini/arrays15.d deleted file mode 100644 index 91cf6dc6..00000000 --- a/tests/mini/arrays15.d +++ /dev/null @@ -1,43 +0,0 @@ -module arrays15; - -extern(C) int printf(char*, ...); - -void integer() -{ - auto arr = new int[16]; - arr[1] = 42; - arr[6] = 555; - print_int(arr); - delete arr; -} - -void floating() -{ - auto arr = new float[6]; - arr[1] = 3.14159265; - arr[3] = 1.61803399; - print_float(arr); - delete arr; -} - -void print_int(int[] arr) -{ - printf("arr[%lu] = [", arr.length); - for (auto i=0; i