diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-01-05 19:25:49 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-01-05 19:25:49 +0100 |
commit | fb5e1b9ba9c6c1e7ae8c335adcdca03903c78567 (patch) | |
tree | 44920591d22a2bd40f00f7d2bdf4cbea8b3e3679 /testsuite/synth/issue1942/ent.vhdl | |
parent | 33eb34d7ca038b8ab0b2c116e4a5453bf1bde9f3 (diff) | |
download | ghdl-fb5e1b9ba9c6c1e7ae8c335adcdca03903c78567.tar.gz ghdl-fb5e1b9ba9c6c1e7ae8c335adcdca03903c78567.tar.bz2 ghdl-fb5e1b9ba9c6c1e7ae8c335adcdca03903c78567.zip |
testsuite/synth: add a test for #1942
Diffstat (limited to 'testsuite/synth/issue1942/ent.vhdl')
-rw-r--r-- | testsuite/synth/issue1942/ent.vhdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/synth/issue1942/ent.vhdl b/testsuite/synth/issue1942/ent.vhdl new file mode 100644 index 000000000..e6c7ada0a --- /dev/null +++ b/testsuite/synth/issue1942/ent.vhdl @@ -0,0 +1,13 @@ +package gen_pkg is + generic (N : integer); +end gen_pkg; + +entity test is +end entity test; + +architecture simple of test is + package pkg is new work.gen_pkg generic map (N => 1); + + use pkg.all; +begin +end architecture simple; |