A black dog walks on the beach near the rocks .