Green’s Dictionary of Slang

dike n.1

also dyke
[SE dike, a pit]

(Aus.) a lavatory, esp. a communal urinal used by schoolboys, soldiers etc.

[UK]Leaves from Diary of Celebrated Burglar 154/1: I ‘officed’ Folkstone to ‘cheese it’ while I went to the ‘Dyke’ to turn them [i.e. stolen wallets] out.
[UK]J. Manchon Le Slang 104: Dike, les cabinets; to do a dike, aller aux lieux, aux gogues.
[UK]M. Marples Public School Sl. 112: Other synonyms [for ‘lavatories’] are rears, lats [...] dykes (Oundle, 1920 +), [etc.].
[NZ]N. Hilliard Maori Girl 74: The dyke’s in the bathroom, and someone’s sure to stink the place out.
[Aus]‘Nino Culotta’ Cop This Lot 28: Been ter the dyke yet? [...] Like the bloody Hotel Australia, ut is. Everything laid on except sheilas.
[NZ]N. Hilliard Glory and The Dream 238: And uses the toilet too, [...] off it goes straight to the dyke.
[Aus]T. Winton That Eye, The Sky 120: It’s normal for you to go to the dyke fifty times a night.
[Aus]M.B. ‘Chopper’ Read How to Shoot Friends 61: Believe it or not, we couldn’t even find the toilets. ‘This is insanity,’ said Dave. ‘We can’t even find the dyke, let alone the bloody poofs.’.
[NZ]McGill Reed Dict. of N.Z. Sl. 71: dyke A toilet, often the outdoor variety whose bottom is not in sight.