diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-09-18 17:40:11 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-09-18 17:40:11 +0200 |
commit | 140ec48166f9c8c478d1433507c632cea80929bc (patch) | |
tree | 9eb02d17bb1651fec434d840391f377d210690ae /testsuite/gna/issue543/ent.vhdl | |
parent | c55c477f49dcdeaccd2100cda96635bbc62ea4e6 (diff) | |
download | ghdl-140ec48166f9c8c478d1433507c632cea80929bc.tar.gz ghdl-140ec48166f9c8c478d1433507c632cea80929bc.tar.bz2 ghdl-140ec48166f9c8c478d1433507c632cea80929bc.zip |
testsuite/gna: add a test for #543
Diffstat (limited to 'testsuite/gna/issue543/ent.vhdl')
-rw-r--r-- | testsuite/gna/issue543/ent.vhdl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/issue543/ent.vhdl b/testsuite/gna/issue543/ent.vhdl new file mode 100644 index 000000000..9d0027fc2 --- /dev/null +++ b/testsuite/gna/issue543/ent.vhdl @@ -0,0 +1,10 @@ +entity ent is end entity; +architecture arch of ent is + attribute att :integer_vector; + constant const :integer := 1; + attribute att of const:constant is (2, 3); +begin + assert false + report "const'att(0) is " & integer'image(const'att(0)) + severity note; +end architecture; |