diff options
Diffstat (limited to 'tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs')
-rw-r--r-- | tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs b/tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs new file mode 100644 index 000000000..ddd6d9a25 --- /dev/null +++ b/tests/ui/rfcs/rfc-3348-c-string-literals/gate.rs @@ -0,0 +1,15 @@ +// gate-test-c_str_literals +// known-bug: #113333 +// edition: 2021 + +macro_rules! m { + ($t:tt) => {} +} + +fn main() { + c"foo"; + // FIXME(c_str_literals): This should be ``c".."` literals are experimental` + + m!(c"test"); + // FIXME(c_str_literals): This should be ``c".."` literals are experimental` +} |