summaryrefslogtreecommitdiffstats
path: root/vendor/cstr/tests/compile_fail/non-str.rs
blob: 172b14559059da058b3d8c7500833e734dce89d3 (plain)
1
2
3
4
5
6
7
use cstr::cstr;

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