aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug0100/usrattr.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug0100/usrattr.vhdl')
-rw-r--r--testsuite/gna/bug0100/usrattr.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/usrattr.vhdl b/testsuite/gna/bug0100/usrattr.vhdl
new file mode 100644
index 000000000..ebac3461d
--- /dev/null
+++ b/testsuite/gna/bug0100/usrattr.vhdl
@@ -0,0 +1,12 @@
+entity usrattr is
+end usrattr;
+
+architecture behav of usrattr is
+ type rec is record
+ data : natural;
+ end record;
+ signal myrec : rec;
+ signal s : boolean;
+begin
+ s <= myrec.data'attr;
+end behav;