]> git.lizzy.rs Git - rust.git/blob - src/test/ui/include-macros/normalization.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / include-macros / normalization.rs
1 // run-pass
2
3 fn main() {
4     assert_eq!(
5         &include_bytes!("data.bin")[..],
6         &b"\xEF\xBB\xBFThis file starts with BOM.\r\nLines are separated by \\r\\n.\r\n"[..],
7     );
8     assert_eq!(
9         include_str!("data.bin"),
10         "\u{FEFF}This file starts with BOM.\r\nLines are separated by \\r\\n.\r\n",
11     );
12 }