aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-02-24 18:49:49 +0100
committerTristan Gingold <tgingold@free.fr>2017-02-24 18:49:49 +0100
commit674ed3b773ad9249983cb47f986dcf1537420e68 (patch)
tree514795575a4e4dea0c67abf9485cd07da5eaac1e /testsuite
parentad5973aed8524096ae2b0c51d4d839d9799cd791 (diff)
downloadghdl-674ed3b773ad9249983cb47f986dcf1537420e68.tar.gz
ghdl-674ed3b773ad9249983cb47f986dcf1537420e68.tar.bz2
ghdl-674ed3b773ad9249983cb47f986dcf1537420e68.zip
Add a test with denormals for #293
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/issue295/repro.vhdl2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/gna/issue295/repro.vhdl b/testsuite/gna/issue295/repro.vhdl
index d1b8b6cc4..ebcb8677b 100644
--- a/testsuite/gna/issue295/repro.vhdl
+++ b/testsuite/gna/issue295/repro.vhdl
@@ -9,6 +9,8 @@ begin
assert 2.0**(-1024) > 0.0 report "This fails" severity note;
assert 2.0**(-1024) = 0.0 report "This passes" severity failure;
+ assert (2.0**(-1023))/2 > 0.0 report "This fails" severity error;
+
wait;
end process test_runner;
end;