module M { spec with_emits { emits _msg; } fun with_emits(_guid: vector, _msg: T, x: u64): u64 { x } }