]> git.lizzy.rs Git - rust.git/blob - tests/ui/cstring.rs
Auto merge of #3645 - phansch:remove_copyright_headers, r=oli-obk
[rust.git] / tests / ui / cstring.rs
1 fn main() {}
2
3 #[allow(clippy::result_unwrap_used)]
4 fn temporary_cstring() {
5     use std::ffi::CString;
6
7     CString::new("foo").unwrap().as_ptr();
8 }