summaryrefslogtreecommitdiffstats
path: root/tests/run-make/symbol-visibility/a_proc_macro.rs
blob: 9fd1a8a671767f6d649484c4ad1ea0993bab938c (plain)
1
2
3
4
5
6
7
8
9
#![crate_type = "proc-macro"]

extern crate an_rlib;

// This should not be exported
#[no_mangle]
extern "C" fn public_c_function_from_cdylib() {
    an_rlib::public_c_function_from_rlib();
}