diff options
author | Tristan Gingold | 2015-05-12 20:35:20 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-12 20:35:20 +0200 |
commit | cf227d317d561ab39327a12cf7c9b2a24daf72aa (patch) | |
tree | 78fa6b1f3caa021a64e2e7c952866dd8ca5ef170 /testsuite | |
parent | 53c382d2d8a0661077ff4bf3147afc373e93e898 (diff) | |
download | ghdl-cf227d317d561ab39327a12cf7c9b2a24daf72aa.tar.gz ghdl-cf227d317d561ab39327a12cf7c9b2a24daf72aa.tar.bz2 ghdl-cf227d317d561ab39327a12cf7c9b2a24daf72aa.zip |
Testcase for ticket58.
Diffstat (limited to 'testsuite')
-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" |