From 7abaf412c73a0f00f812ee05d7bf5a304e83549c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 20 May 2015 21:42:33 +0200 Subject: Testcase for ticket75. --- testsuite/gna/ticket75/bug.vhdl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testsuite/gna/ticket75/bug.vhdl (limited to 'testsuite/gna/ticket75/bug.vhdl') diff --git a/testsuite/gna/ticket75/bug.vhdl b/testsuite/gna/ticket75/bug.vhdl new file mode 100644 index 0000000..38f5f57 --- /dev/null +++ b/testsuite/gna/ticket75/bug.vhdl @@ -0,0 +1,14 @@ +entity ent is +end entity; + +architecture a of ent is +begin + main : process + begin + assert bit'value("'0'") = '0'; -- Works + assert bit'value("'1'") = '1'; -- Works + assert bit'value("0") = '0'; -- Fails + assert bit'value("1") = '1'; -- Fails + wait; + end process; +end architecture; -- cgit