as long as it's on one ticket, I believe.
But regardless, you will have to go through security + immigration at Sydney -- in which the bus that transfers you drops you at the intl terminal where you have to walk right past the checkin counters -- so you are not gaining/losing that much even if you have separate tickets.