diff options
-rw-r--r-- | testsuite/gna/issue2117/bug.vhdl | 11 | ||||
-rwxr-xr-x | testsuite/gna/issue2117/testsuite.sh | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/issue2117/bug.vhdl b/testsuite/gna/issue2117/bug.vhdl new file mode 100644 index 000000000..96d3071c7 --- /dev/null +++ b/testsuite/gna/issue2117/bug.vhdl @@ -0,0 +1,11 @@ +entity bug is end; + +architecture a of bug is + type t1 is (enum_val_1); + + procedure p is + begin + enum_val_1.missing_identifier; + end; +begin +end; diff --git a/testsuite/gna/issue2117/testsuite.sh b/testsuite/gna/issue2117/testsuite.sh new file mode 100755 index 000000000..fada7027b --- /dev/null +++ b/testsuite/gna/issue2117/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure bug.vhdl + +clean + +echo "Test successful" |