diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-05-02 18:25:24 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-05-02 18:25:24 +0200 |
commit | 118801b0f49b8e80b2ab036523449955e0be77de (patch) | |
tree | 5e5d54f496da192bcdefac3d35b4569cab30a03e /testsuite/gna/bug0100/oper1.vhdl | |
parent | 57cbee4a5c089bc9bf1583e8e0b9a34c65236d02 (diff) | |
download | ghdl-118801b0f49b8e80b2ab036523449955e0be77de.tar.gz ghdl-118801b0f49b8e80b2ab036523449955e0be77de.tar.bz2 ghdl-118801b0f49b8e80b2ab036523449955e0be77de.zip |
testsuite/gna: add a test for previous commit
Diffstat (limited to 'testsuite/gna/bug0100/oper1.vhdl')
-rw-r--r-- | testsuite/gna/bug0100/oper1.vhdl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/oper1.vhdl b/testsuite/gna/bug0100/oper1.vhdl new file mode 100644 index 000000000..4ba7a5bba --- /dev/null +++ b/testsuite/gna/bug0100/oper1.vhdl @@ -0,0 +1,11 @@ +entity oper1 is + port ( + a: bit; + err : out bit); +end; + +architecture behav of oper1 is + signal b_err : bit_vector(7 downto 0); +begin + err <= '1' when b_err /= (b_err'range => inp(1)); +end behav; |