aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug14/bug2.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-06-02 21:55:06 +0200
committerTristan Gingold <tgingold@free.fr>2015-06-02 21:55:06 +0200
commit2153aea92dfa3f28990f00f85fcff3a552ee21b0 (patch)
treeabdce213ec4c6a27bf992f2b2f1404c7e00767b3 /testsuite/gna/bug14/bug2.vhdl
parentd363464f4a40cd999838aa5d229a3644bfbe2cec (diff)
downloadghdl-2153aea92dfa3f28990f00f85fcff3a552ee21b0.tar.gz
ghdl-2153aea92dfa3f28990f00f85fcff3a552ee21b0.tar.bz2
ghdl-2153aea92dfa3f28990f00f85fcff3a552ee21b0.zip
Testcase for duplicate subprogram body.
Diffstat (limited to 'testsuite/gna/bug14/bug2.vhdl')
-rw-r--r--testsuite/gna/bug14/bug2.vhdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/gna/bug14/bug2.vhdl b/testsuite/gna/bug14/bug2.vhdl
new file mode 100644
index 000000000..4e03e6c04
--- /dev/null
+++ b/testsuite/gna/bug14/bug2.vhdl
@@ -0,0 +1,4 @@
+package pkg2 is
+ function f (a : integer) return integer;
+ function f (a : integer) return integer;
+end pkg2;