diff options
-rw-r--r-- | testsuite/gna/issue2006/filpkg.vhdl | 6 | ||||
-rw-r--r-- | testsuite/gna/issue2006/mypkg.vhdl | 7 | ||||
-rwxr-xr-x | testsuite/gna/issue2006/testsuite.sh | 11 |
3 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/issue2006/filpkg.vhdl b/testsuite/gna/issue2006/filpkg.vhdl new file mode 100644 index 000000000..5ba7d60d4 --- /dev/null +++ b/testsuite/gna/issue2006/filpkg.vhdl @@ -0,0 +1,6 @@ +package filpkg is + type foo; + type foo_acc is access foo; + + type foo is file of character; +end package filpkg; diff --git a/testsuite/gna/issue2006/mypkg.vhdl b/testsuite/gna/issue2006/mypkg.vhdl new file mode 100644 index 000000000..4ad29cd46 --- /dev/null +++ b/testsuite/gna/issue2006/mypkg.vhdl @@ -0,0 +1,7 @@ +package mypkg is + type foo; + type foo_acc is access foo; + + type foo is protected + end protected; +end package mypkg; diff --git a/testsuite/gna/issue2006/testsuite.sh b/testsuite/gna/issue2006/testsuite.sh new file mode 100755 index 000000000..0406748f1 --- /dev/null +++ b/testsuite/gna/issue2006/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +export GHDL_STD_FLAGS=--std=08 +analyze_failure mypkg.vhdl +analyze_failure filpkg.vhdl + +clean + +echo "Test successful" |