summary refs log tree commit diff
path: root/src/test/ui/nil-decl-in-foreign.rs
blob: 98422665b9c5b383fbdbcac9c98313c05b2d8951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass

#![allow(improper_ctypes)]
#![allow(dead_code)]
// Issue #901
// pretty-expanded FIXME #23616

mod libc {
    extern {
        pub fn printf(x: ());
    }
}

pub fn main() { }