summaryrefslogtreecommitdiffstats
path: root/tests/ui/fmt/respanned-literal-issue-106191.rs
blob: bb741c0ef93fa8bf0d523f610c767200256fdece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// aux-build:format-string-proc-macro.rs
// check-fail
// known-bug: #106191
// unset-rustc-env:RUST_BACKTRACE
// had to be reverted
// error-pattern:internal compiler error
// failure-status:101
// dont-check-compiler-stderr

extern crate format_string_proc_macro;

fn main() {
    format_string_proc_macro::respan_to_invalid_format_literal!("¡");
    format_args!(r#concat!("¡        {"));
}