diff --git a/src/V3LinkParse.cpp b/src/V3LinkParse.cpp index 4d629bed0..ba272c860 100644 --- a/src/V3LinkParse.cpp +++ b/src/V3LinkParse.cpp @@ -1354,7 +1354,7 @@ class LinkParseVisitor final : public VNVisitor { "Ignoring unsupported coverage option: " + optp->name()); } nodep->addOptionsp(new AstCoverOption{optp->fileline(), optType, - optp->valuep()->cloneTree(false)}); + optp->valuep()->cloneTree(false)}); VL_DO_DANGLING(optp->deleteTree(), optp); } } diff --git a/test_regress/t/t_vlcov_covergroup.py b/test_regress/t/t_vlcov_covergroup.py old mode 100644 new mode 100755