aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug061/test_dict.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug061/test_dict.vhdl')
-rw-r--r--testsuite/gna/bug061/test_dict.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/bug061/test_dict.vhdl b/testsuite/gna/bug061/test_dict.vhdl
new file mode 100644
index 000000000..b4b1c4f93
--- /dev/null
+++ b/testsuite/gna/bug061/test_dict.vhdl
@@ -0,0 +1,17 @@
+entity test_dict is
+end test_dict;
+
+use work.datastructures.all;
+
+architecture behav of test_dict is
+begin
+ process
+ variable dict : String_String_Dict;
+ begin
+ dict.set ("entity", "module");
+ dict.set ("process", "always");
+
+ assert dict.get ("entity") = "module" severity failure;
+ wait;
+ end process;
+end behav;