diff options
Diffstat (limited to 'testsuite/gna/bug16/repro1.vhdl')
-rw-r--r-- | testsuite/gna/bug16/repro1.vhdl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/gna/bug16/repro1.vhdl b/testsuite/gna/bug16/repro1.vhdl new file mode 100644 index 0000000..6553079 --- /dev/null +++ b/testsuite/gna/bug16/repro1.vhdl @@ -0,0 +1,28 @@ +entity repro is +end repro; + +entity comp is + port (s : bit); +end comp; + +architecture behav of repro is + component comp is + port (s : bit); + end component; + signal s : bit; +begin + c : comp port map (s); +end behav; + +use work.pkg.all; +entity comp2 is + port (s : bit); +end comp2; + +architecture behav of comp is + component comp2 is + port (s : bit); + end component; +begin + c2: comp2 port map (s); +end behav; |