diff options
-rw-r--r-- | testsuite/gna/ticket58/bug.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/ticket58/testsuite.sh | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/ticket58/bug.vhdl b/testsuite/gna/ticket58/bug.vhdl new file mode 100644 index 0000000..1f95e89 --- /dev/null +++ b/testsuite/gna/ticket58/bug.vhdl @@ -0,0 +1,7 @@ +package pkg is +end package; + +context ctx is + library lib; + use lib.pkg.all; +end context; diff --git a/testsuite/gna/ticket58/testsuite.sh b/testsuite/gna/ticket58/testsuite.sh new file mode 100755 index 0000000..c4e8878 --- /dev/null +++ b/testsuite/gna/ticket58/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS="--std=08 --work=lib" +analyze bug.vhdl + +clean + +echo "Test successful" |