aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/vests/vhdl-93/ashenden
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-06-24 22:08:44 +0200
committerTristan Gingold <tgingold@free.fr>2014-06-24 22:08:44 +0200
commit43c5002a7838d2b721f0b5d373ad6769293dbd6e (patch)
treeec2002a75347399b6e8d7322d2439c6e166efc7a /testsuite/vests/vhdl-93/ashenden
parenta084dd5f1174164ffb2fd878d078554c24711c20 (diff)
downloadghdl-43c5002a7838d2b721f0b5d373ad6769293dbd6e.tar.gz
ghdl-43c5002a7838d2b721f0b5d373ad6769293dbd6e.tar.bz2
ghdl-43c5002a7838d2b721f0b5d373ad6769293dbd6e.zip
vests/vhdl-93/ashenden/non_compliant/ch_02_ch_02_01.vhd: fix overflow.
Diffstat (limited to 'testsuite/vests/vhdl-93/ashenden')
-rw-r--r--testsuite/vests/vhdl-93/ashenden/non_compliant/ch_02_ch_02_01.vhd2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/vests/vhdl-93/ashenden/non_compliant/ch_02_ch_02_01.vhd b/testsuite/vests/vhdl-93/ashenden/non_compliant/ch_02_ch_02_01.vhd
index 0f0263ccf..56e80b5fc 100644
--- a/testsuite/vests/vhdl-93/ashenden/non_compliant/ch_02_ch_02_01.vhd
+++ b/testsuite/vests/vhdl-93/ashenden/non_compliant/ch_02_ch_02_01.vhd
@@ -553,6 +553,8 @@ begin
-- end of code from book
begin
+ -- TG: avoid overflow in multiplication
+ L1 := 1 mm;
-- code from book: