From f1ee709724aff4a8c532cb20339c54cf142f4a02 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 14 May 2015 06:53:59 +0200 Subject: Testcase for ticket 52. --- testsuite/gna/ticket52/file.vhdl | 12 ++++++++++++ testsuite/gna/ticket52/testsuite.sh | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 testsuite/gna/ticket52/file.vhdl create mode 100755 testsuite/gna/ticket52/testsuite.sh 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" -- cgit v1.2.3