aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue621/ent2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue621/ent2.vhdl')
-rw-r--r--testsuite/gna/issue621/ent2.vhdl12
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;