diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-07-07 21:37:51 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-07-08 13:40:09 +0200 |
commit | 18116ef10e66015fa9445fcb072441d035a282b9 (patch) | |
tree | f6ff21f189b97764913186a5fd7a4250feefc375 /testsuite/gna/issue621/ent2.vhdl | |
parent | 714dd8242d80bfdc2decada72aef1b10827d9876 (diff) | |
download | ghdl-18116ef10e66015fa9445fcb072441d035a282b9.tar.gz ghdl-18116ef10e66015fa9445fcb072441d035a282b9.tar.bz2 ghdl-18116ef10e66015fa9445fcb072441d035a282b9.zip |
Add reproducer for #621
Diffstat (limited to 'testsuite/gna/issue621/ent2.vhdl')
-rw-r--r-- | testsuite/gna/issue621/ent2.vhdl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue621/ent2.vhdl b/testsuite/gna/issue621/ent2.vhdl new file mode 100644 index 000000000..277770bdc --- /dev/null +++ b/testsuite/gna/issue621/ent2.vhdl @@ -0,0 +1,12 @@ +entity crash_entity is end entity; +architecture default of crash_entity is + type rec is record + v : natural; + end record; + attribute s : rec; + function func return boolean is + begin + return s.v = 0; + end function; +begin +end architecture; |