Criminal Code of Canada
PART XVIII - PROCEDURE ON PRELIMINARY
INQUIRY - TAKING EVIDENCE OF WITNESSES
542. (1) Nothing in this Act prevents a prosecutor giving in evidence at a preliminary inquiry any admission, confession or statement made at any time by the accused that by law is admissible against him.
(2) Every one who publishes in any document, or broadcasts or transmits in any way, a report that any admission or confession was tendered in evidence at a preliminary inquiry or a report of the nature of such admission or confession so tendered in evidence unless
(a) the accused has been discharged, or
(b) if the accused has been ordered to stand trial, the trial has ended,
is guilty of an offence punishable on summary conviction.
Rights during investigation - self incrimination
National proceedings on admission of guilt
EDIT.