diff options
Diffstat (limited to 'testsuite/gna/ticket75/bug.vhdl')
-rw-r--r-- | testsuite/gna/ticket75/bug.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
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; |