diff options
Diffstat (limited to 'testsuite/gna/ticket41/bug1.vhdl')
-rw-r--r-- | testsuite/gna/ticket41/bug1.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/ticket41/bug1.vhdl b/testsuite/gna/ticket41/bug1.vhdl new file mode 100644 index 0000000..958437c --- /dev/null +++ b/testsuite/gna/ticket41/bug1.vhdl @@ -0,0 +1,14 @@ +entity bug1 is + +end bug1; + +architecture behav of bug1 is + constant c : natural := 5; + function c return natural is + begin + return 7; + end; +begin -- behav + + +end behav; |