diff options
-rwxr-xr-x | testsuite/gna/issue160/testsuite.sh | 28 | ||||
-rw-r--r-- | testsuite/gna/issue160/top.vhdl | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/testsuite/gna/issue160/testsuite.sh b/testsuite/gna/issue160/testsuite.sh new file mode 100755 index 000000000..034888942 --- /dev/null +++ b/testsuite/gna/issue160/testsuite.sh @@ -0,0 +1,28 @@ +#! /bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=87 +analyze top.vhdl +elab_failure top +clean + +GHDL_STD_FLAGS=--std=93 +analyze top.vhdl +elab_failure top +clean + +GHDL_STD_FLAGS=--std=02 +analyze top.vhdl +elab_failure top +clean + +GHDL_STD_FLAGS=--std=08 +analyze top.vhdl +elab_failure top +unset GHDL_STD_FLAGS +elab_failure top +GHDL_STD_FLAGS=--std=08 +clean + +echo "Test successful" diff --git a/testsuite/gna/issue160/top.vhdl b/testsuite/gna/issue160/top.vhdl new file mode 100644 index 000000000..fbf3cf088 --- /dev/null +++ b/testsuite/gna/issue160/top.vhdl @@ -0,0 +1,2 @@ +entity top is +end top; |