aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-07 21:03:18 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-07 21:03:18 +0200
commitc5c504aac52c749f676a498b20a07e7005cd397c (patch)
tree03796f38ec92f46e47df11ec41ba6dc1b406c21d
parente71f9e8713f72f6af4bc83c6675dfba5158c1898 (diff)
downloadghdl-c5c504aac52c749f676a498b20a07e7005cd397c.tar.gz
ghdl-c5c504aac52c749f676a498b20a07e7005cd397c.tar.bz2
ghdl-c5c504aac52c749f676a498b20a07e7005cd397c.zip
Add reproducer for issue #813
-rw-r--r--testsuite/gna/issue813/mwe.vhdl5
-rwxr-xr-xtestsuite/gna/issue813/testsuite.sh10
2 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue813/mwe.vhdl b/testsuite/gna/issue813/mwe.vhdl
new file mode 100644
index 000000000..4d13daaa8
--- /dev/null
+++ b/testsuite/gna/issue813/mwe.vhdl
@@ -0,0 +1,5 @@
+entity flip_flop_7474 is
+ Port ( j: in bit);
+begin
+ assert j'stable (6 ns);
+end flip_flop_7474;
diff --git a/testsuite/gna/issue813/testsuite.sh b/testsuite/gna/issue813/testsuite.sh
new file mode 100755
index 000000000..d6f880e86
--- /dev/null
+++ b/testsuite/gna/issue813/testsuite.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze mwe.vhdl
+
+clean
+
+echo "Test successful"