diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-09-24 21:00:28 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-09-24 21:01:02 +0200 |
commit | 01f485580d90cdea224e15aa3d583f5c987d2c77 (patch) | |
tree | 0680032d3298bfd28577b7d41776bea71c246b48 /testsuite/gna/issue148/bug_sim.vhdl | |
parent | dac1e0e98515cf737ba768510329159028dd1c58 (diff) | |
download | ghdl-01f485580d90cdea224e15aa3d583f5c987d2c77.tar.gz ghdl-01f485580d90cdea224e15aa3d583f5c987d2c77.tar.bz2 ghdl-01f485580d90cdea224e15aa3d583f5c987d2c77.zip |
Add testcase for issue #148
Diffstat (limited to 'testsuite/gna/issue148/bug_sim.vhdl')
-rw-r--r-- | testsuite/gna/issue148/bug_sim.vhdl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue148/bug_sim.vhdl b/testsuite/gna/issue148/bug_sim.vhdl new file mode 100644 index 000000000..2a27adcc0 --- /dev/null +++ b/testsuite/gna/issue148/bug_sim.vhdl @@ -0,0 +1,17 @@ +entity bug is + port(data: out integer); +end entity bug; + +architecture arc of bug is +begin +end architecture arc; + +entity bug_sim is +end entity bug_sim; + +architecture sim of bug_sim is + signal data: natural; +begin + u0: entity work.bug + port map(data => data); +end architecture sim; |