summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/iss.rs
blob: cf32f6c2d5dc8db71ffcede648ecaad8e273ff26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_name="issue6919_3"]

// part of issue-6919.rs

pub struct C<K> where K: FnOnce() {
    pub k: K,
}

fn no_op() { }
pub const D : C<fn()> = C {
    k: no_op as fn()
};