diff options
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue2200/a.vhdl | 11 | ||||
-rwxr-xr-x | testsuite/gna/issue2200/testsuite.sh | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/gna/issue2200/a.vhdl b/testsuite/gna/issue2200/a.vhdl new file mode 100644 index 000000000..a4c90f73e --- /dev/null +++ b/testsuite/gna/issue2200/a.vhdl @@ -0,0 +1,11 @@ +library ieee; +use ieee.std_logic_arith.ALL; +use ieee.numeric_std.all; +use ieee.std_logic_textio.all; + +entity a is +end entity a; + +architecture RTL of a is +begin +end architecture RTL; diff --git a/testsuite/gna/issue2200/testsuite.sh b/testsuite/gna/issue2200/testsuite.sh new file mode 100755 index 000000000..6aa45cf92 --- /dev/null +++ b/testsuite/gna/issue2200/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +$GHDL -i --ieee=synopsys --warn-unused a.vhdl +$GHDL -m --ieee=synopsys --warn-unused -Werror a + +clean + +echo "Test successful" |