rustc/vendor/cstr/tests/compile_fail/non-str.rs
2021-04-15 23:27:12 +01:00

8 lines
111 B
Rust

use cstr::cstr;
fn main() {
let _foo = cstr!(1);
let _foo = cstr!(("a"));
let _foo = cstr!(&1);
}