diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-10-10 06:34:51 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-10-10 06:34:51 +0200 |
commit | 4777cd72cd085b4317bb7d71108b18475b0b55c1 (patch) | |
tree | dd36bf5a5713f46b557dd2a6ceaf7f9dbd8faf8c /testsuite | |
parent | d827259e262f5203953013da136840dba713a4df (diff) | |
download | ghdl-4777cd72cd085b4317bb7d71108b18475b0b55c1.tar.gz ghdl-4777cd72cd085b4317bb7d71108b18475b0b55c1.tar.bz2 ghdl-4777cd72cd085b4317bb7d71108b18475b0b55c1.zip |
Add reproducer for issue #160
Diffstat (limited to 'testsuite')
-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; |