diff options
author | Tristan Gingold | 2015-05-11 00:57:06 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-05-11 00:57:06 +0200 |
commit | 4fb0d372c17309ed4c5e2f011d8fa11e89f3295e (patch) | |
tree | bb102a71365ec7804fb3fb686f54cf118b79ef93 /testsuite/gna/ticket50/ent.vhdl | |
parent | c89a5680b88cf17056595d48e67fc28ba18f6910 (diff) | |
download | ghdl-4fb0d372c17309ed4c5e2f011d8fa11e89f3295e.tar.gz ghdl-4fb0d372c17309ed4c5e2f011d8fa11e89f3295e.tar.bz2 ghdl-4fb0d372c17309ed4c5e2f011d8fa11e89f3295e.zip |
Add ticket50 testcase.
Diffstat (limited to 'testsuite/gna/ticket50/ent.vhdl')
-rw-r--r-- | testsuite/gna/ticket50/ent.vhdl | 16 |
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 0000000..c1cc8d3 --- /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; |