From 923ee4b7def1e71e8fc7bf4e4a58b17c350651d1 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 12 Dec 2018 18:26:10 +0100 Subject: Add testcase for previous patch (and/or in PSL expressions). --- testsuite/gna/bug093/repro.vhdl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 testsuite/gna/bug093/repro.vhdl (limited to 'testsuite/gna/bug093/repro.vhdl') diff --git a/testsuite/gna/bug093/repro.vhdl b/testsuite/gna/bug093/repro.vhdl new file mode 100644 index 000000000..14ec21d2a --- /dev/null +++ b/testsuite/gna/bug093/repro.vhdl @@ -0,0 +1,10 @@ +entity repro is +end repro; + +architecture behav of repro is + constant a : boolean := True; + constant b : boolean := False; + constant c : boolean := False; +begin + assert (a and b) = c severity failure; +end behav; -- cgit v1.2.3