In reply to sambasiva:
that is true. I tried in verilog and got the error you mentioned.
I assumed sv as default.