]> git.proxmox.com Git - rustc.git/blob - src/test/ui/empty/empty-comment.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / empty / empty-comment.rs
1 // `/**/` was previously regarded as a doc comment because it starts with `/**` and ends with `*/`.
2 // This could break some internal logic that assumes the length of a doc comment is at least 5,
3 // leading to an ICE.
4
5 macro_rules! one_arg_macro {
6 ($fmt:expr) => (print!(concat!($fmt, "\n")));
7 }
8
9 fn main() {
10 one_arg_macro!(/**/); //~ ERROR unexpected end
11 }