diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-12-08 04:04:11 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-08 05:01:43 +0100 |
commit | 4a13fde67eb89ec1b50a5925de901f340ae98b42 (patch) | |
tree | 7214d6a14286c94107ea7ebad8937b735b3d0943 /testsuite/gna | |
parent | 86c711e9dd0132f4fee1c1f69ad5feed96bc7de8 (diff) | |
download | ghdl-4a13fde67eb89ec1b50a5925de901f340ae98b42.tar.gz ghdl-4a13fde67eb89ec1b50a5925de901f340ae98b42.tar.bz2 ghdl-4a13fde67eb89ec1b50a5925de901f340ae98b42.zip |
Add testcase for #205
Diffstat (limited to 'testsuite/gna')
-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" |