diff tests/parser/string_1.d @ 187:08b6ce45b456

Changed the way static arrays are represented Now uses [3 x i32] rather than [3 x i32]*, and when using constants they are copied before use. Also dixed a test or two
author Anders Halager <halager@gmail.com>
date Fri, 25 Jul 2008 12:53:58 +0200
parents 6cb2f4201e2a
children
line wrap: on
line diff
--- a/tests/parser/string_1.d	Fri Jul 25 12:50:09 2008 +0200
+++ b/tests/parser/string_1.d	Fri Jul 25 12:53:58 2008 +0200
@@ -24,14 +24,14 @@
 
     /* And some custom ones */
 
-    char[8]     s16 = "\x61\u05D0\U000201A4";
+    char[7]     s16 = "\x61\u05D0\U000201A4";
     char[2]     s17 = "\122\522";
-    char[6]     s18 = x"61 62 63 64
+    char[8]     s18 = x"61 62 63 64
                         65 66 67 68";
 
-    char[4]     s19 = "\&reg;\&amp;";
+    char[3]     s19 = "\&reg;\&amp;";
 
-    char[4]     s20 = "\&reg;\&amp;"c;
+    char[3]     s20 = "\&reg;\&amp;"c;
     wchar[2]    s21 = "\&reg;\&amp;"w;
     dchar[2]    s22 = "\&reg;\&amp;"d;