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.

16 lines
312 B
Rust
Raw Normal View History

2023-03-06 01:42:04 -06:00
// gate-test-c_str_literals
2023-07-04 12:40:48 -05:00
// known-bug: #113333
// edition: 2021
2023-03-06 01:42:04 -06:00
macro_rules! m {
($t:tt) => {}
}
2023-03-06 01:10:23 -06:00
fn main() {
c"foo";
2023-07-04 12:40:48 -05:00
// FIXME(c_str_literals): This should be ``c".."` literals are experimental`
2023-03-06 01:10:23 -06:00
m!(c"test");
2023-07-04 12:40:48 -05:00
// FIXME(c_str_literals): This should be ``c".."` literals are experimental`
2023-03-06 01:10:23 -06:00
}