]> git.lizzy.rs Git - rust.git/blob - tests/pretty/do1.rs
Rollup merge of #107756 - RalfJung:miri-out-of-addresses, r=oli-obk
[rust.git] / tests / 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) }) }