rust/tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
211 B
Rust
Raw Normal View History

2023-03-06 01:42:04 -06:00
// gate-test-c_str_literals
macro_rules! m {
($t:tt) => {}
}
2023-03-06 01:10:23 -06:00
fn main() {
c"foo";
//~^ ERROR: `c".."` literals are experimental
m!(c"test");
//~^ ERROR: `c".."` literals are experimental
}