aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-04 04:14:56 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-04 04:14:56 +0200
commit043439298fd884953acb61cc0622faf8bd6e9e95 (patch)
tree0a98be7232f9b42e0788ac0f04e7112f1ed6ba75 /testsuite/gna
parente53cf90579703fb92d460abc12201925290b38e1 (diff)
downloadghdl-043439298fd884953acb61cc0622faf8bd6e9e95.tar.gz
ghdl-043439298fd884953acb61cc0622faf8bd6e9e95.tar.bz2
ghdl-043439298fd884953acb61cc0622faf8bd6e9e95.zip
Add testcase for #830; adjust harness.
Diffstat (limited to 'testsuite/gna')
-rw-r--r--testsuite/gna/issue830/r.vhdl2
-rwxr-xr-xtestsuite/gna/issue830/testsuite.sh12
2 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue830/r.vhdl b/testsuite/gna/issue830/r.vhdl
new file mode 100644
index 000000000..1911976d8
--- /dev/null
+++ b/testsuite/gna/issue830/r.vhdl
@@ -0,0 +1,2 @@
+entity r is
+end;
diff --git a/testsuite/gna/issue830/testsuite.sh b/testsuite/gna/issue830/testsuite.sh
new file mode 100755
index 000000000..5d047e136
--- /dev/null
+++ b/testsuite/gna/issue830/testsuite.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+if analyze --std=08 "" r.vhdl; then
+ echo "error expected"
+ exit 1;
+fi
+
+clean
+
+echo "Test successful"