]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-10718.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / issues / issue-10718.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn f<F:FnOnce()>(p: F) {
5     p();
6 }
7
8 pub fn main() {
9     let p = || ();
10     f(p);
11 }