diff options
Diffstat (limited to 'testsuite/gna')
-rw-r--r-- | testsuite/gna/issue2164/e.vhdl | 14 | ||||
-rwxr-xr-x | testsuite/gna/issue2164/testsuite.sh | 9 |
2 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/gna/issue2164/e.vhdl b/testsuite/gna/issue2164/e.vhdl new file mode 100644 index 000000000..c03fa203e --- /dev/null +++ b/testsuite/gna/issue2164/e.vhdl @@ -0,0 +1,14 @@ +package p is + function f(arg : integer := integer'(1)) return boolean; +end; + +package body p is + function f(arg : integer := integer'(1)) return boolean + is + begin + return false; + end; +end; + +entity e is end; +architecture a of e is begin end; diff --git a/testsuite/gna/issue2164/testsuite.sh b/testsuite/gna/issue2164/testsuite.sh new file mode 100755 index 000000000..8799a9d28 --- /dev/null +++ b/testsuite/gna/issue2164/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze e.vhdl + +clean + +echo "Test successful" |