diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-05-31 06:46:37 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-05-31 08:06:49 +0200 |
commit | dfcb6a20351cf7e7150fbcdd4c35dd21132d81ea (patch) | |
tree | ae5d225956539af5b04d1b7acc02578802f69080 /testsuite/gna/issue72 | |
parent | af9d1d913a1fc586afd39b87bed6f4c78d171a9b (diff) | |
download | ghdl-dfcb6a20351cf7e7150fbcdd4c35dd21132d81ea.tar.gz ghdl-dfcb6a20351cf7e7150fbcdd4c35dd21132d81ea.tar.bz2 ghdl-dfcb6a20351cf7e7150fbcdd4c35dd21132d81ea.zip |
vhdl2008: implement new 'use clause' rules for types.
Adjust test issue72.
Diffstat (limited to 'testsuite/gna/issue72')
-rw-r--r-- | testsuite/gna/issue72/fixed.vhdl | 2 | ||||
-rwxr-xr-x | testsuite/gna/issue72/testsuite.sh | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/gna/issue72/fixed.vhdl b/testsuite/gna/issue72/fixed.vhdl index 214c6049a..8b13577ff 100644 --- a/testsuite/gna/issue72/fixed.vhdl +++ b/testsuite/gna/issue72/fixed.vhdl @@ -22,7 +22,7 @@ begin -- architecture rtl process (clk) is begin -- process if clk'event and clk = '1' then -- rising clock edge - if input = one then + if input = work.issue_pkg.one then output <= '1'; else output <= '0'; diff --git a/testsuite/gna/issue72/testsuite.sh b/testsuite/gna/issue72/testsuite.sh index 309a6b47d..1119937bb 100755 --- a/testsuite/gna/issue72/testsuite.sh +++ b/testsuite/gna/issue72/testsuite.sh @@ -8,9 +8,9 @@ analyze fixed.vhdl clean -#GHDL_STD_FLAGS=--std=08 -#analyze issue_pkg.vhdl -#analyze issue.vhdl -#clean +GHDL_STD_FLAGS=--std=08 +analyze issue_pkg.vhdl +analyze issue.vhdl +clean echo "Test successful" |