From 7b03815747527c625c6c913bf019307e4495ad7e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 4 Jun 2022 09:18:06 +0200 Subject: testsuite/gna: add a test for previous commit --- testsuite/gna/bug0100/emptyrec.vhdl | 11 +++++++++++ testsuite/gna/bug0100/testsuite.sh | 1 + 2 files changed, 12 insertions(+) create mode 100644 testsuite/gna/bug0100/emptyrec.vhdl (limited to 'testsuite') diff --git a/testsuite/gna/bug0100/emptyrec.vhdl b/testsuite/gna/bug0100/emptyrec.vhdl new file mode 100644 index 000000000..7c771fb28 --- /dev/null +++ b/testsuite/gna/bug0100/emptyrec.vhdl @@ -0,0 +1,11 @@ +entity emptyrec is + port ( + clk_i : in bit + ); +end emptyrec; + +architecture arch of emptyrec is + type t_counter_config is record + end record; +begin +end arch; diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh index d9e2210c4..cd3799b61 100755 --- a/testsuite/gna/bug0100/testsuite.sh +++ b/testsuite/gna/bug0100/testsuite.sh @@ -33,6 +33,7 @@ analyze_failure --force-analysis name4.vhdl analyze_failure --force-analysis inst2.vhdl analyze_failure arr_err1.vhdl analyze_failure --force-analysis oper1.vhdl +analyze_failure --force-analysis emptyrec.vhdl if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then : -- cgit v1.2.3