aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-09-30 06:19:11 +0200
committerTristan Gingold <tgingold@free.fr>2022-09-30 06:19:11 +0200
commit1622b2dabf932b395b90d4bc22943482c6246b14 (patch)
tree26ddb16a7e1a9f216efe10fa78612ccaced8c096 /testsuite
parent80e6b48eb30679cb884baebc990b3cc8492bbe72 (diff)
downloadghdl-1622b2dabf932b395b90d4bc22943482c6246b14.tar.gz
ghdl-1622b2dabf932b395b90d4bc22943482c6246b14.tar.bz2
ghdl-1622b2dabf932b395b90d4bc22943482c6246b14.zip
testsuite/gna: add a test for the previous commit
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/bug0133/e.vhdl6
-rwxr-xr-xtestsuite/gna/bug0133/testsuite.sh10
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/bug0133/e.vhdl b/testsuite/gna/bug0133/e.vhdl
new file mode 100644
index 000000000..620efcbe2
--- /dev/null
+++ b/testsuite/gna/bug0133/e.vhdl
@@ -0,0 +1,6 @@
+entity e is end;
+
+architecture a of e is
+begin
+end;
+
diff --git a/testsuite/gna/bug0133/testsuite.sh b/testsuite/gna/bug0133/testsuite.sh
new file mode 100755
index 000000000..db33375a9
--- /dev/null
+++ b/testsuite/gna/bug0133/testsuite.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze e.vhdl
+$GHDL --file-to-xml > e.xml
+
+clean
+
+echo "Test successful"