diff tests/code/sarray_2.d @ 107:189c049cbfcc new_gen

Cleanup of codegen, better support for operators a few bugfixes
author Anders Halager <halager@gmail.com>
date Sun, 25 May 2008 14:40:14 +0200
parents
children 0e10479623f6
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/code/sarray_2.d	Sun May 25 14:40:14 2008 +0200
@@ -0,0 +1,8 @@
+//fail
+int main()
+{
+    int[10] a;
+    // static array assignment is illegal - we fail for other reasons though
+    int[10] b = a;
+}
+