about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-10 15:49:45 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-10 15:49:45 -0700
commit44d018b6155c93e899f4509ac8a4f0f2d2340d5b (patch)
treec8f5ad88cef0b9f248b6c3327f4cc44aff45307d
parent0e860667134df90182e5488fca92241c7ee17552 (diff)
downloadmu-44d018b6155c93e899f4509ac8a4f0f2d2340d5b.tar.gz
2823
-rw-r--r--030address.cc7
-rw-r--r--031container.cc7
2 files changed, 7 insertions, 7 deletions
diff --git a/030address.cc b/030address.cc
index 10261132..b742731f 100644
--- a/030address.cc
+++ b/030address.cc
@@ -64,13 +64,6 @@ void lookup_memory(reagent& x) {
   drop_one_lookup(x);
 }
 
-:(scenario canonize_non_pointer_fails_without_crashing)
-% Hide_errors = true;
-def foo [
-  1:address:number <- get-address *p, x:offset
-]
-# don't crash
-
 :(after "bool types_strictly_match(reagent to, reagent from)")
   if (!canonize_type(to)) return false;
   if (!canonize_type(from)) return false;
diff --git a/031container.cc b/031container.cc
index fa008404..63ef85f2 100644
--- a/031container.cc
+++ b/031container.cc
@@ -399,6 +399,13 @@ def main [
 ]
 +mem: storing 2 in location 4
 
+:(scenario canonize_non_pointer_fails_without_crashing)
+% Hide_errors = true;
+def foo [
+  1:address:number <- get-address *p, x:offset
+]
+# don't crash
+
 //:: Allow containers to be defined in mu code.
 
 :(scenarios load)