diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-08-29 08:01:46 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-08-29 08:01:46 +0200 |
commit | b461845ffeb94e902d84c058238fcfcd4074f1a6 (patch) | |
tree | 5a2bcc7733b32a649cfe8661f872f50051179657 /testsuite/gna/bug014 | |
parent | b75d703676ab830ea3e5731e1965d1d89879a456 (diff) | |
download | ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.gz ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.bz2 ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.zip |
Rename gnat/bug directories for non-gna bugs to avoid confusion.
Diffstat (limited to 'testsuite/gna/bug014')
-rw-r--r-- | testsuite/gna/bug014/bug.vhdl | 15 | ||||
-rw-r--r-- | testsuite/gna/bug014/bug2.vhdl | 4 | ||||
-rw-r--r-- | testsuite/gna/bug014/bug3.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/bug014/testsuite.sh | 10 |
4 files changed, 36 insertions, 0 deletions
diff --git a/testsuite/gna/bug014/bug.vhdl b/testsuite/gna/bug014/bug.vhdl new file mode 100644 index 000000000..bb0c4a1bf --- /dev/null +++ b/testsuite/gna/bug014/bug.vhdl @@ -0,0 +1,15 @@ +package pkg is + function f (a : integer) return integer; +end pkg; + +package body pkg is + function f (a : integer) return integer is + begin + return 1; + end f; + + function f (a : integer) return integer is + begin + return 1; + end f; +end pkg; diff --git a/testsuite/gna/bug014/bug2.vhdl b/testsuite/gna/bug014/bug2.vhdl new file mode 100644 index 000000000..4e03e6c04 --- /dev/null +++ b/testsuite/gna/bug014/bug2.vhdl @@ -0,0 +1,4 @@ +package pkg2 is + function f (a : integer) return integer; + function f (a : integer) return integer; +end pkg2; diff --git a/testsuite/gna/bug014/bug3.vhdl b/testsuite/gna/bug014/bug3.vhdl new file mode 100644 index 000000000..a94da5781 --- /dev/null +++ b/testsuite/gna/bug014/bug3.vhdl @@ -0,0 +1,7 @@ +package pkg3 is + function f (a : integer) return integer; + function f (a : integer) return integer is + begin + return 1; + end f; +end pkg3; diff --git a/testsuite/gna/bug014/testsuite.sh b/testsuite/gna/bug014/testsuite.sh new file mode 100755 index 000000000..27deff22e --- /dev/null +++ b/testsuite/gna/bug014/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure bug.vhdl +analyze_failure bug2.vhdl +analyze_failure bug3.vhdl +clean + +echo "Test successful" |