diff options
-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 0000000..8eea1a7 --- /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 0000000..62e4fa2 --- /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" |