Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
227 B
Rust
Raw Normal View History

2023-07-16 18:59:05 +00:00
// run-pass
2023-07-04 19:40:48 +02:00
// edition: 2021
2023-03-07 05:09:19 +00:00
#![feature(c_str_literals)]
fn main() {
assert_eq!(
c"\xEF\x80🦀\u{1F980}".to_bytes_with_nul(),
&[0xEF, 0x80, 0xF0, 0x9F, 0xA6, 0x80, 0xF0, 0x9F, 0xA6, 0x80, 0x00],
);
}