In reply to sush:
I believe you do not get an error if you compile the three files above with
vlog A.v B.v C.v
-Dave