aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-07-05 18:32:27 +0200
committerTristan Gingold <tgingold@free.fr>2021-07-05 18:32:27 +0200
commit61dafdf7768513cd970ae40c9ddfb05485b91990 (patch)
tree85cdd4bbc86612f6241451a7717ea74165fd0358
parent506315e9cc2996197b5e061e04511f7fa867749d (diff)
downloadghdl-61dafdf7768513cd970ae40c9ddfb05485b91990.tar.gz
ghdl-61dafdf7768513cd970ae40c9ddfb05485b91990.tar.bz2
ghdl-61dafdf7768513cd970ae40c9ddfb05485b91990.zip
testsuite/gna: add a test for previous commit
-rwxr-xr-xtestsuite/gna/bug0100/testsuite.sh3
-rw-r--r--testsuite/gna/bug0100/varcomp.vhdl14
2 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/bug0100/testsuite.sh b/testsuite/gna/bug0100/testsuite.sh
index 342d3af84..00bf90caf 100755
--- a/testsuite/gna/bug0100/testsuite.sh
+++ b/testsuite/gna/bug0100/testsuite.sh
@@ -26,6 +26,9 @@ analyze_failure paren.vhdl
analyze_failure --force-analysis attr3.vhdl
analyze_failure --force-analysis noconst.vhdl
analyze_failure compon.vhdl
+analyze_failure --force-analysis varcomp.vhdl
+#analyze_failure --force-analysis name1.vhdl
+#analyze_failure --force-analysis name2.vhdl
if analyze_failure --force-analysis notype1.vhdl 2>&1 | grep -q "indexed name"; then
:
diff --git a/testsuite/gna/bug0100/varcomp.vhdl b/testsuite/gna/bug0100/varcomp.vhdl
new file mode 100644
index 000000000..e388acdaf
--- /dev/null
+++ b/testsuite/gna/bug0100/varcomp.vhdl
@@ -0,0 +1,14 @@
+entity varcomp is
+end;
+
+architecture behav of varcomp is
+ component abuf is
+ end component;
+begin
+ process
+ begin
+ (v, y) := abuf;
+
+ x := ;
+ end process;
+end behav;