rust/tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs
2023-05-02 10:32:07 +00:00

14 lines
211 B
Rust

// gate-test-c_str_literals
macro_rules! m {
($t:tt) => {}
}
fn main() {
c"foo";
//~^ ERROR: `c".."` literals are experimental
m!(c"test");
//~^ ERROR: `c".."` literals are experimental
}