diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gna/issue205/repro.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/issue205/testsuite.sh | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue205/repro.vhdl b/testsuite/gna/issue205/repro.vhdl new file mode 100644 index 000000000..d981e81d0 --- /dev/null +++ b/testsuite/gna/issue205/repro.vhdl @@ -0,0 +1,7 @@ +package SortListGenericPkg is + generic ( + type ElementType; + function "<"(L : ElementType; R : ElementType) return boolean; + function "<="(L : ElementType; R : ElementType) return boolean + ); +end package; diff --git a/testsuite/gna/issue205/testsuite.sh b/testsuite/gna/issue205/testsuite.sh new file mode 100755 index 000000000..7b37332aa --- /dev/null +++ b/testsuite/gna/issue205/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +analyze repro.vhdl + +clean + +echo "Test successful" |