aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/ticket50/ent.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/ticket50/ent.vhdl')
-rw-r--r--testsuite/gna/ticket50/ent.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/ticket50/ent.vhdl b/testsuite/gna/ticket50/ent.vhdl
new file mode 100644
index 000000000..c1cc8d35a
--- /dev/null
+++ b/testsuite/gna/ticket50/ent.vhdl
@@ -0,0 +1,16 @@
+entity ent is
+end entity;
+
+architecture a of ent is
+ type enum_t is (cond);
+ impure function cond return boolean is
+ begin
+ return false;
+ end function;
+begin
+ main : process
+ begin
+ if cond then
+ end if;
+ end process;
+end architecture;