From d40c73de021a6c07d73a7f17e499f9ba6772f164 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 2 Sep 2015 18:23:07 +0200 Subject: Add bug022 (unused entity linked). --- testsuite/gna/bug022/test.vhdl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testsuite/gna/bug022/test.vhdl (limited to 'testsuite/gna/bug022/test.vhdl') diff --git a/testsuite/gna/bug022/test.vhdl b/testsuite/gna/bug022/test.vhdl new file mode 100644 index 000000000..ba696cfcd --- /dev/null +++ b/testsuite/gna/bug022/test.vhdl @@ -0,0 +1,20 @@ +entity test is +end entity test; + +entity internal is +end entity internal; +architecture arch of internal is begin +end architecture arch; + +entity internal_bis is +end entity internal_bis; +architecture arch of internal_bis is begin +end architecture arch; + +architecture first of test is begin + test_instantiation : entity work.internal; +end architecture first; + +architecture second of test is begin + test_instantiation : entity work.internal_bis; +end architecture second; -- cgit v1.2.3