summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/ticket88/bug.vhdl12
-rwxr-xr-xtestsuite/gna/ticket88/testsuite.sh8
2 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/ticket88/bug.vhdl b/testsuite/gna/ticket88/bug.vhdl
new file mode 100644
index 0000000..fd0a93d
--- /dev/null
+++ b/testsuite/gna/ticket88/bug.vhdl
@@ -0,0 +1,12 @@
+entity ent is
+end entity;
+
+architecture a of ent is
+ component comp is
+ end component;
+
+ for inst : comp use configuration cfg;
+begin
+ inst : comp;
+end architecture;
+
diff --git a/testsuite/gna/ticket88/testsuite.sh b/testsuite/gna/ticket88/testsuite.sh
new file mode 100755
index 0000000..e2d8f1e
--- /dev/null
+++ b/testsuite/gna/ticket88/testsuite.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze_failure bug.vhdl
+clean
+
+echo "Test successful"