From dd562f29e7ea248a64fce50e61998d0c0f73fe7e Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 14 Mar 2020 11:41:09 +0100 Subject: [PATCH] Add regression tests for new handling of comments in constants --- tests/various/bug1745.ys | 8 ++++++++ tests/various/constcomment.ys | 16 ++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/various/bug1745.ys create mode 100644 tests/various/constcomment.ys diff --git a/tests/various/bug1745.ys b/tests/various/bug1745.ys new file mode 100644 index 000000000..2e5b8c2d4 --- /dev/null +++ b/tests/various/bug1745.ys @@ -0,0 +1,8 @@ +logger -expect error "syntax error, unexpected TOK_CONSTVAL" 1 +read_verilog <