summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused_parens_multibyte_recovery.rs
blob: bc03faf3fce6cbd6d00185732c180940e3c72ca8 (plain)
1
2
3
4
5
6
7
8
9
10
// ignore-tidy-trailing-newlines
//
// error-pattern: this file contains an unclosed delimiter
// error-pattern: this file contains an unclosed delimiter
// error-pattern: this file contains an unclosed delimiter
//
// Verify that unused parens lint does not try to create a span
// which points in the middle of a multibyte character.

fn f(){(print!(á