]> git.proxmox.com Git - rustc.git/blob - src/test/ui/unpretty/bad-literal.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / unpretty / bad-literal.rs
1 // compile-flags: -Zunpretty=hir
2 // check-fail
3
4 // In #100948 this caused an ICE with -Zunpretty=hir.
5 fn main() {
6 1u;
7 //~^ ERROR invalid suffix `u` for number literal
8 }