summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-24161.rs
blob: f4cdd982ac641da2c1d28ad04cee09ae0b23f1d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
#![allow(dead_code)]
#[derive(Copy,Clone)]
struct Functions {
    a: fn(u32) -> u32,
    b: extern "C" fn(u32) -> u32,
    c: unsafe fn(u32) -> u32,
    d: unsafe extern "C" fn(u32) -> u32
}

pub fn main() {}