]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libphobos/libdruntime/core/internal/qsort.d
d: Merge dmd, druntime 11240a9663
[thirdparty/gcc.git] / libphobos / libdruntime / core / internal / qsort.d
index ad8307a2523802973ef98305ef2395131e7dd203..ada914c9ef4c0867e6d89974b31bbfe15fe90f7d 100644 (file)
@@ -132,6 +132,7 @@ else
 
 unittest
 {
+    debug(qsort) import core.stdc.stdio;
     debug(qsort) printf("array.sort.unittest()\n");
 
     int[] a = new int[10];
@@ -151,8 +152,8 @@ unittest
 
     for (int i = 0; i < a.length - 1; i++)
     {
-        //printf("i = %d", i);
-        //printf(" %d %d\n", a[i], a[i + 1]);
+        debug(qsort) printf("i = %d", i);
+        debug(qsort) printf(" %d %d\n", a[i], a[i + 1]);
         assert(a[i] <= a[i + 1]);
     }
 }