diff options
-rw-r--r-- | testsuite/gna/issue544/e.vhdl | 8 | ||||
-rwxr-xr-x | testsuite/gna/issue544/testsuite.sh | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/issue544/e.vhdl b/testsuite/gna/issue544/e.vhdl new file mode 100644 index 000000000..2101cae8e --- /dev/null +++ b/testsuite/gna/issue544/e.vhdl @@ -0,0 +1,8 @@ +entity e is end entity; +architecture a of e is + function f return boolean is begin + return false; + end function; +begin + assert f report "message" severity note; +end architecture; diff --git a/testsuite/gna/issue544/testsuite.sh b/testsuite/gna/issue544/testsuite.sh new file mode 100755 index 000000000..1a4b10413 --- /dev/null +++ b/testsuite/gna/issue544/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +analyze e.vhdl +elab_simulate e + +clean + +echo "Test successful" |