aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-25 21:08:15 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-25 21:08:15 +0200
commitdecc588e1858cca6f6447a11c7669ac697964805 (patch)
treeab14a1cdc8010a9f8c21d8e260ca311fc7e7e3c2 /testsuite
parent030bf768bc26708ce0bd906427cc6acacad83c4c (diff)
downloadghdl-decc588e1858cca6f6447a11c7669ac697964805.tar.gz
ghdl-decc588e1858cca6f6447a11c7669ac697964805.tar.bz2
ghdl-decc588e1858cca6f6447a11c7669ac697964805.zip
testsuite/synth: add testcase for #936
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/synth/issue936/ent.vhdl6
-rwxr-xr-xtestsuite/synth/issue936/testsuite.sh7
2 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/synth/issue936/ent.vhdl b/testsuite/synth/issue936/ent.vhdl
new file mode 100644
index 000000000..a74c2e5af
--- /dev/null
+++ b/testsuite/synth/issue936/ent.vhdl
@@ -0,0 +1,6 @@
+entity ent is
+end entity;
+
+architecture a of ent is
+begin
+end;
diff --git a/testsuite/synth/issue936/testsuite.sh b/testsuite/synth/issue936/testsuite.sh
new file mode 100755
index 000000000..f07ef8f12
--- /dev/null
+++ b/testsuite/synth/issue936/testsuite.sh
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+synth ent.vhdl -e ent > syn_ent.vhdl
+
+echo "Test successful"