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

#![allow(improper_ctypes)]
#![allow(dead_code)]
// Issue #901

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

pub fn main() {}