aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue474
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-11-30 21:13:37 +0100
committerTristan Gingold <tgingold@free.fr>2017-12-01 04:35:16 +0100
commit01fedd0141d2380b2b90e20ecfc7daf81f00800f (patch)
tree3192151d909a85e4fef96c09835ff33b3a0788a3 /testsuite/gna/issue474
parentb5f86659f859eac6a9e13a15387ec245f04bf968 (diff)
downloadghdl-01fedd0141d2380b2b90e20ecfc7daf81f00800f.tar.gz
ghdl-01fedd0141d2380b2b90e20ecfc7daf81f00800f.tar.bz2
ghdl-01fedd0141d2380b2b90e20ecfc7daf81f00800f.zip
Add testcase for #474
Diffstat (limited to 'testsuite/gna/issue474')
-rw-r--r--testsuite/gna/issue474/t.vhdl2
-rwxr-xr-xtestsuite/gna/issue474/testsuite.sh12
2 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue474/t.vhdl b/testsuite/gna/issue474/t.vhdl
new file mode 100644
index 000000000..53a023142
--- /dev/null
+++ b/testsuite/gna/issue474/t.vhdl
@@ -0,0 +1,2 @@
+entity t is
+end t1;
diff --git a/testsuite/gna/issue474/testsuite.sh b/testsuite/gna/issue474/testsuite.sh
new file mode 100755
index 000000000..761366b32
--- /dev/null
+++ b/testsuite/gna/issue474/testsuite.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+if $GHDL -i t.vhdl; then
+ echo "Failure expected"
+ exit 1
+fi
+
+clean
+
+echo "Test successful"