diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-08-05 16:25:24 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-08-05 16:25:24 +0200 |
commit | fff29e971150f24456b0f0407ae0dba773d31299 (patch) | |
tree | d15b61d283f4c169566889ec6c55bc06f79e5357 /testsuite/gna/issue618/e1.vhdl | |
parent | ac549b427388776c0287ba5444b2bddd6e04e0b7 (diff) | |
download | ghdl-fff29e971150f24456b0f0407ae0dba773d31299.tar.gz ghdl-fff29e971150f24456b0f0407ae0dba773d31299.tar.bz2 ghdl-fff29e971150f24456b0f0407ae0dba773d31299.zip |
Add testcase for #618
Diffstat (limited to 'testsuite/gna/issue618/e1.vhdl')
-rw-r--r-- | testsuite/gna/issue618/e1.vhdl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue618/e1.vhdl b/testsuite/gna/issue618/e1.vhdl new file mode 100644 index 000000000..592835515 --- /dev/null +++ b/testsuite/gna/issue618/e1.vhdl @@ -0,0 +1,8 @@ +entity e1 is end entity; +architecture a of e1 is + type t is range 0 to 1; + constant c :t := 7 - 6; +begin + assert c = 3 report "c /= 3" severity note; + assert c = t(3) report "c /= 3" severity note; +end architecture; |