]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/do1.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[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) }) }