From 0ca070663091ec0eecd089801f37339feb7813c8 Mon Sep 17 00:00:00 2001
From: Eddie Hung <eddie@fpgeh.com>
Date: Tue, 3 Sep 2019 12:17:26 -0700
Subject: Expand test with `hierarchy' without -auto-top

---
 tests/various/hierarchy_defer.ys | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/various/hierarchy_defer.ys b/tests/various/hierarchy_defer.ys
index baec52c9d..70f5b70a3 100644
--- a/tests/various/hierarchy_defer.ys
+++ b/tests/various/hierarchy_defer.ys
@@ -13,8 +13,15 @@ module sub(input i, output o);
 assign o = ~i;
 endmodule
 EOT
+design -save read
 
 hierarchy -auto-top
 select -assert-any top
 select -assert-any sub
 select -assert-none foo
+
+design -load read
+hierarchy
+select -assert-any top
+select -assert-any sub
+select -assert-none foo
-- 
cgit v1.2.3