]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/do1.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / pretty / do1.rs
1 // pp-exact
2
3 fn f<F>(f: F) where F: Fn(isize) { f(10) }
4
5 fn main() { f(|i| { assert_eq!(i, 10) }) }