aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/design1.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/various/design1.ys')
-rw-r--r--tests/various/design1.ys9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/various/design1.ys b/tests/various/design1.ys
new file mode 100644
index 000000000..f13ad8171
--- /dev/null
+++ b/tests/various/design1.ys
@@ -0,0 +1,9 @@
+read_verilog <<EOT
+module top(input i, output o);
+assign o = i;
+endmodule
+EOT
+design -stash foo
+design -delete foo
+logger -expect error "No saved design 'foo' found!" 1
+design -delete foo