summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/auxiliary/issue-13620-1.rs
blob: a77aa5a71553ae6cc83e51d4cdf1e15dc27a0f53 (plain)
1
2
3
4
5
6
7
8
9
pub struct Foo {
    pub foo: extern "C" fn()
}

extern "C" fn the_foo() {}

pub const FOO: Foo = Foo {
    foo: the_foo
};