diff options
Diffstat (limited to 'testsuite/gna/issue1379/bar2.vhdl')
-rw-r--r-- | testsuite/gna/issue1379/bar2.vhdl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/issue1379/bar2.vhdl b/testsuite/gna/issue1379/bar2.vhdl new file mode 100644 index 000000000..7b367332d --- /dev/null +++ b/testsuite/gna/issue1379/bar2.vhdl @@ -0,0 +1,11 @@ +entity bar2 is +end bar2; + +architecture behav of bar2 is + function f(v : natural) return natural is + begin + return 1; + end f; +begin + assert f(v => open) = 1; +end behav; |