diff options
Diffstat (limited to 'testsuite/gna/bug081/test_comp.vhdl')
-rw-r--r-- | testsuite/gna/bug081/test_comp.vhdl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/bug081/test_comp.vhdl b/testsuite/gna/bug081/test_comp.vhdl new file mode 100644 index 000000000..d553eaaf7 --- /dev/null +++ b/testsuite/gna/bug081/test_comp.vhdl @@ -0,0 +1,8 @@ +package test_comp is + function log2 (v : natural) return natural; + + component my_comp is + generic (max : natural); + port (o : out bit_vector(log2(max) - 1 downto 0)); + end component; +end test_comp; |