diff tests/sema/deref_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 0cd8d6ab3f89
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/sema/deref_2.d	Sun May 25 14:40:14 2008 +0200
@@ -0,0 +1,10 @@
+int main()
+{
+    int *a;
+    int *b;
+    a = b;
+    *a = 1;
+
+    return *a == *b;
+}
+