]> git.proxmox.com Git - rustc.git/blame - src/test/ui/mir/issue66339.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / mir / issue66339.rs
CommitLineData
6a06907d 1// compile-flags: -Z mir-opt-level=3
60c5eb7d
XL
2// build-pass
3
4// This used to ICE in const-prop
5
6fn foo() {
7 let bar = |_| { };
8 let _ = bar("a");
9}
10
11fn main() {
12 foo();
13}