rust/tests/ui/unpretty/bad-literal.rs
2024-02-16 20:02:50 +00:00

9 lines
179 B
Rust

//@ compile-flags: -Zunpretty=hir
//@ check-fail
// In #100948 this caused an ICE with -Zunpretty=hir.
fn main() {
1u;
//~^ ERROR invalid suffix `u` for number literal
}