In reply to jayath2000:
Many syntax errors are problems with the line before the reported location. I suspect you are missing an endclass in test.sv.
In reply to jayath2000:
Many syntax errors are problems with the line before the reported location. I suspect you are missing an endclass in test.sv.