summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/do1.rs
blob: 233ccdb0098b36d7a98c0308a42db7d5c6371423 (plain)
1
2
3
4
5
// pp-exact

fn f<F>(f: F) where F: Fn(isize) { f(10) }

fn main() { f(|i| { assert_eq!(i, 10) }) }