Index: uspace/app/tester/print/print2.c
===================================================================
--- uspace/app/tester/print/print2.c	(revision e755b3fd6f76c26f53ffaf76246215ceae5aaeb9)
+++ uspace/app/tester/print/print2.c	(revision ff87f70e4fd5be2331ceca65c6409f318b2a815b)
@@ -53,4 +53,13 @@
 	TPRINTF("Real output:     [%#x] [%#5.3x] [%#-5.3x] [%#3.5x] [%#-3.5x]\n\n", 17, 18, 19, 20, 21);
 	
+	char ch[12];
+	ptrdiff_t d, neg_d;
+	
+	d = &ch[0] - &ch[12];
+	neg_d = (unsigned)(-d);
+	TPRINTF("Testing printf(\"%%td %%tu %%tx %%ti %%to\", d, neg_d, neg_d, d, neg_d):\n");
+	TPRINTF("Expected output: [-12] [12] [c] [-12] [14]\n");
+	TPRINTF("Real output:     [%td] [%tu] [%tx] [%ti] [%to]\n\n", d, neg_d, neg_d, d, neg_d);
+	
 	return NULL;
 }
