forked from ghdl/ghdl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testsuite/gna: add a test for ghdl#2458
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
library ieee; | ||
use ieee.std_logic_1164.all; | ||
|
||
entity e3 is | ||
generic (type data_type); | ||
end entity; | ||
|
||
architecture e of e3 is | ||
signal s : data_type; | ||
begin | ||
end architecture; | ||
|
||
library ieee; | ||
use ieee.std_logic_1164.all; | ||
|
||
entity test3 is | ||
end entity; | ||
|
||
architecture test of test3 is | ||
component e3 is | ||
generic (type data_type); | ||
end component; | ||
begin | ||
inst : e3 generic map(data_type => std_logic); | ||
end architecture; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters