diff tests/code/sarray_2.d @ 208:41ccd50e7cbc

Added missing tests
author Anders Johnsen <skabet@gmail.com>
date Tue, 12 Aug 2008 18:21:06 +0200
parents 0e10479623f6
children
line wrap: on
line diff
--- a/tests/code/sarray_2.d	Tue Aug 12 18:19:34 2008 +0200
+++ b/tests/code/sarray_2.d	Tue Aug 12 18:21:06 2008 +0200
@@ -1,8 +1,7 @@
-//fail
 int main()
 {
     int[10] a;
-    // static array assignment is illegal - we fail for other reasons though
+    // static array initialization is legal
     int[10] b = a;
 }