aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2328/test.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-01-29 08:38:14 +0100
committerTristan Gingold <tgingold@free.fr>2023-01-29 08:38:14 +0100
commitda2aeae6aad9977218a17013cdd38577aebaeb3d (patch)
tree95b3257dc69493c41e8c04b37c39eeba52ded406 /testsuite/synth/issue2328/test.vhdl
parente6ebb298fcb465f062099c0d10db1d828a339355 (diff)
downloadghdl-da2aeae6aad9977218a17013cdd38577aebaeb3d.tar.gz
ghdl-da2aeae6aad9977218a17013cdd38577aebaeb3d.tar.bz2
ghdl-da2aeae6aad9977218a17013cdd38577aebaeb3d.zip
testsuite/gna: add tests for #2328
Diffstat (limited to 'testsuite/synth/issue2328/test.vhdl')
-rw-r--r--testsuite/synth/issue2328/test.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/synth/issue2328/test.vhdl b/testsuite/synth/issue2328/test.vhdl
new file mode 100644
index 000000000..520e2d22f
--- /dev/null
+++ b/testsuite/synth/issue2328/test.vhdl
@@ -0,0 +1,9 @@
+entity test is
+end test;
+
+architecture behavior of test is
+signal a: bit_vector(3 downto 0);
+signal b: bit;
+begin
+ b <= and a;
+end behavior;