summaryrefslogtreecommitdiffstats
path: root/tests/ui/lifetimes/fullwidth-ampersand.rs
blob: 7d8948bd844cf03832e4417e26e46d5fef71c656 (plain)
1
2
3
4
5
6
7
// Verify that we do not ICE when the user uses a multubyte ampersand.

fn f(_: &()) -> &() { todo!() }
//~^ ERROR unknown start of token: \u{ff06}
//~| ERROR missing lifetime specifier [E0106]

fn main() {}