src/method-impl.lisp, etc.: Add a `readonly' message property.
[sod] / test / bad.sod
index 4ca273e..2799e0e 100644 (file)
@@ -39,8 +39,10 @@ class Wrong {
 
   int x = 2;
   wrong.x = 7;
+  int x;
   wrong.x = 3;
-  int filler, y(), .z[45], q;
+  const char *x = "hello";
+  int x, y(), .z[45], q;
   int wrong.fizzbuzz(int n) extern;
   wtf.y = 19, wrong.z = 69, x.= r;
   int (*bogon)(const char *) { return strlen(p); }