diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/proc-macro/expand-expr.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/ui/proc-macro/expand-expr.rs b/src/test/ui/proc-macro/expand-expr.rs index 8d51b7e1718..75a23976a64 100644 --- a/src/test/ui/proc-macro/expand-expr.rs +++ b/src/test/ui/proc-macro/expand-expr.rs @@ -123,4 +123,10 @@ expand_expr_fail!(echo_pm!(arbitrary_expression() + "etc")); const _: u32 = recursive_expand!(); //~ ERROR: recursion limit reached while expanding `recursive_expand!` -fn main() {} +fn main() { + // https://github.com/rust-lang/rust/issues/104414 + match b"a" { + include_bytes!("auxiliary/included-file.txt") => (), + _ => () + } +} |
