aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue18/integer_ambig.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-01-07 19:50:39 +0100
committerTristan Gingold <tgingold@free.fr>2016-01-07 19:50:39 +0100
commit45f0ebbbbf65c7147dc6f524234b0fe5b90d56dc (patch)
tree6e827407fc6e3a0d405be7a5052fa3a1ccab7bb3 /testsuite/gna/issue18/integer_ambig.vhdl
parentbb29dc5b5e1e4aa0acf0352f8939b59fdc1513dd (diff)
downloadghdl-45f0ebbbbf65c7147dc6f524234b0fe5b90d56dc.tar.gz
ghdl-45f0ebbbbf65c7147dc6f524234b0fe5b90d56dc.tar.bz2
ghdl-45f0ebbbbf65c7147dc6f524234b0fe5b90d56dc.zip
Add reproducer for issue18.
Diffstat (limited to 'testsuite/gna/issue18/integer_ambig.vhdl')
-rw-r--r--testsuite/gna/issue18/integer_ambig.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue18/integer_ambig.vhdl b/testsuite/gna/issue18/integer_ambig.vhdl
new file mode 100644
index 000000000..cdf1e0e65
--- /dev/null
+++ b/testsuite/gna/issue18/integer_ambig.vhdl
@@ -0,0 +1,15 @@
+use work.fum.all;
+
+entity overload_index_issue is
+end entity overload_index_issue ;
+architecture dumbit_down of overload_index_issue is
+ shared variable fee: fie;
+begin
+
+ process
+ variable Data : integer ;
+ begin
+ Data := fee.foo(120.0);
+ wait;
+ end process;
+end architecture dumbit_down;