summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorsagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2009-06-11 09:01:00 (GMT)
committersagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2009-06-11 09:01:00 (GMT)
commitd23bb945bd86c6533c78846f095337d776e2bc4a (patch)
treefc7d9b2544cb432a84663d316a8d9c23f9001bbf /test
parentb7a856759a005b30c998e4272b69d998ea88dc27 (diff)
downloadcv2pdb-d23bb945bd86c6533c78846f095337d776e2bc4a.zip
cv2pdb-d23bb945bd86c6533c78846f095337d776e2bc4a.tar.gz
cv2pdb-d23bb945bd86c6533c78846f095337d776e2bc4a.tar.bz2
v0.8:
- tweaked visualizer macros to detect uninitialized associative arrays and to limit expansion to arrays with less than 1024 entries - renamed "data" pointer member of dynamic arrays to "ptr"
Diffstat (limited to 'test')
-rw-r--r--test/cvtest.d8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/cvtest.d b/test/cvtest.d
index 5c9c0dd..2336fc8 100644
--- a/test/cvtest.d
+++ b/test/cvtest.d
@@ -168,8 +168,14 @@ int main2(char[][]argv)
alias_int_array int_array;
int[] int_oem_long_dynarray; int_oem_long_dynarray ~= 12;
- int[int] local_oem_int_assoc_array; local_oem_int_assoc_array[7] = 17;
+ int[int] local_oem_int_assoc_array;
+ for (int i = 0; i < 1024; i++)
+ local_oem_int_assoc_array[i] = 2*i;
+
+ local_oem_int_assoc_array[5000] = 1;
+
+ int *intptr = int_oem_long_dynarray.ptr;
Object null_obj;
derived_class null_derived;