aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1310
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-05-15 19:28:47 +0200
committerTristan Gingold <tgingold@free.fr>2020-05-15 19:28:47 +0200
commit96b538b0241921d355382b8403f23d79927dfcae (patch)
tree339e73e7e76558b29b84e20b0a7456e8a121c660 /testsuite/synth/issue1310
parent504b8130f23f5116bb39a0a95c54c0101b9b6ef2 (diff)
downloadghdl-96b538b0241921d355382b8403f23d79927dfcae.tar.gz
ghdl-96b538b0241921d355382b8403f23d79927dfcae.tar.bz2
ghdl-96b538b0241921d355382b8403f23d79927dfcae.zip
testsuite/synth: add a test for #1310
Diffstat (limited to 'testsuite/synth/issue1310')
-rw-r--r--testsuite/synth/issue1310/issue2.vhdl2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/synth/issue1310/issue2.vhdl b/testsuite/synth/issue1310/issue2.vhdl
index 4fbe56000..9d583d524 100644
--- a/testsuite/synth/issue1310/issue2.vhdl
+++ b/testsuite/synth/issue1310/issue2.vhdl
@@ -16,4 +16,6 @@ begin
assert (signed'("0111") >= signed'("1111"));
assert (signed'("1111") < signed'("0111"));
assert (signed'("1111") <= signed'("0111"));
+
+ assert signed'("1111") = -1;
end architecture beh;