aboutsummaryrefslogtreecommitdiffstats
path: root/tests/select/unset.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/select/unset.ys')
-rw-r--r--tests/select/unset.ys10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/select/unset.ys b/tests/select/unset.ys
new file mode 100644
index 000000000..4f60781c2
--- /dev/null
+++ b/tests/select/unset.ys
@@ -0,0 +1,10 @@
+read_verilog <<EOT
+module top(input i, output o);
+assign o = i;
+endmodule
+EOT
+select -set foo w:*
+select -assert-any @foo
+select -unset foo
+logger -expect error "Selection '\\foo' does not exist!" 1
+select -unset foo