diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-05-14 06:53:59 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-05-14 06:53:59 +0200 |
commit | f1ee709724aff4a8c532cb20339c54cf142f4a02 (patch) | |
tree | 22a1d134abe500ee58896f7893219c9bcb20bfe1 | |
parent | e3921be1157d819a8c74bf17692f02d8d12a325c (diff) | |
download | ghdl-f1ee709724aff4a8c532cb20339c54cf142f4a02.tar.gz ghdl-f1ee709724aff4a8c532cb20339c54cf142f4a02.tar.bz2 ghdl-f1ee709724aff4a8c532cb20339c54cf142f4a02.zip |
Testcase for ticket 52.
-rw-r--r-- | testsuite/gna/ticket52/file.vhdl | 12 | ||||
-rwxr-xr-x | testsuite/gna/ticket52/testsuite.sh | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/ticket52/file.vhdl b/testsuite/gna/ticket52/file.vhdl new file mode 100644 index 000000000..8eea1a713 --- /dev/null +++ b/testsuite/gna/ticket52/file.vhdl @@ -0,0 +1,12 @@ +entity ent is + port ( + prt : out integer); +end entity; + +architecture a of ent is + signal sig : integer; +begin + prt <= 1; + sig <= prt; +end architecture; + diff --git a/testsuite/gna/ticket52/testsuite.sh b/testsuite/gna/ticket52/testsuite.sh new file mode 100755 index 000000000..62e4fa28f --- /dev/null +++ b/testsuite/gna/ticket52/testsuite.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure file.vhdl +clean + +GHDL_STD_FLAGS=--std=08 +analyze file.vhdl +clean + +echo "Test successful" |