diff options
Diffstat (limited to 'testsuite/gna/ticket74/bug.vhdl')
-rw-r--r-- | testsuite/gna/ticket74/bug.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/ticket74/bug.vhdl b/testsuite/gna/ticket74/bug.vhdl new file mode 100644 index 000000000..bae04dad6 --- /dev/null +++ b/testsuite/gna/ticket74/bug.vhdl @@ -0,0 +1,15 @@ +entity ent is +end entity; + +architecture a of ent is + function fun(s : string) return integer is + begin + return 0; + end; +begin + main : process + begin + assert fun(s(4 to 15) => "Hello world!") = 0; + wait; + end process; +end architecture; |