aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/gna/bug0100/name1.vhdl11
-rw-r--r--testsuite/gna/bug0100/name2.vhdl11
2 files changed, 22 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/name1.vhdl b/testsuite/gna/bug0100/name1.vhdl
new file mode 100644
index 000000000..0ba1876e0
--- /dev/null
+++ b/testsuite/gna/bug0100/name1.vhdl
@@ -0,0 +1,11 @@
+entity crash1 is
+end crash1;
+
+architecture behav of crash1 is
+ signal samples: bit;
+begin
+ process
+ begin
+ bit'(samples));
+ end process;
+end behav;
diff --git a/testsuite/gna/bug0100/name2.vhdl b/testsuite/gna/bug0100/name2.vhdl
new file mode 100644
index 000000000..702c5823b
--- /dev/null
+++ b/testsuite/gna/bug0100/name2.vhdl
@@ -0,0 +1,11 @@
+entity name2 is
+end name2;
+
+architecture behav of name2 is
+ signal samples: bit;
+begin
+ process
+ begin
+ bit'samples);
+ end process;
+end behav;