summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unpretty/bad-literal.rs
blob: 6dcc0da30cc2cd7810154c817ae0fae0da31f121 (plain)
1
2
3
4
5
6
7
8
// 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
}