aboutsummaryrefslogtreecommitdiffstats
path: root/tests/select/unset2.ys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/select/unset2.ys')
-rw-r--r--tests/select/unset2.ys10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/select/unset2.ys b/tests/select/unset2.ys
new file mode 100644
index 000000000..456b84c22
--- /dev/null
+++ b/tests/select/unset2.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 is not defined!" 1
+select -list @foo