diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-07-22 20:26:23 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-07-22 20:26:23 +0200 |
commit | dcdb63200c87175783282ca5c6d54304f8f474f2 (patch) | |
tree | 53cfeeaa2836257d328bdda8489f7705130f4024 /testsuite/gna/issue627 | |
parent | a4652a544c3965a986f3440f86a567e12615cca7 (diff) | |
download | ghdl-dcdb63200c87175783282ca5c6d54304f8f474f2.tar.gz ghdl-dcdb63200c87175783282ca5c6d54304f8f474f2.tar.bz2 ghdl-dcdb63200c87175783282ca5c6d54304f8f474f2.zip |
Add testcase for #627
Diffstat (limited to 'testsuite/gna/issue627')
-rw-r--r-- | testsuite/gna/issue627/ent.vhdl | 4 | ||||
-rwxr-xr-x | testsuite/gna/issue627/testsuite.sh | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue627/ent.vhdl b/testsuite/gna/issue627/ent.vhdl new file mode 100644 index 000000000..93f098f60 --- /dev/null +++ b/testsuite/gna/issue627/ent.vhdl @@ -0,0 +1,4 @@ +entity test is +type type_test is range 0 to 2#1.1#2; -- here is the missing e between 2nd hash and 2 +end; + diff --git a/testsuite/gna/issue627/testsuite.sh b/testsuite/gna/issue627/testsuite.sh new file mode 100755 index 000000000..9e7e2a886 --- /dev/null +++ b/testsuite/gna/issue627/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure ent.vhdl + +clean + +echo "Test successful" |