From b461845ffeb94e902d84c058238fcfcd4074f1a6 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 29 Aug 2015 08:01:46 +0200 Subject: Rename gnat/bug directories for non-gna bugs to avoid confusion. --- testsuite/gna/bug016/repro1.vhdl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testsuite/gna/bug016/repro1.vhdl (limited to 'testsuite/gna/bug016/repro1.vhdl') diff --git a/testsuite/gna/bug016/repro1.vhdl b/testsuite/gna/bug016/repro1.vhdl new file mode 100644 index 0000000..6553079 --- /dev/null +++ b/testsuite/gna/bug016/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; -- cgit