summaryrefslogtreecommitdiffstats
path: root/tests/rust/non_pub_extern.rs
blob: 4174324d79094ae458914d5d5e0795030678aeaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[no_mangle]
static FIRST: u32 = 10;

#[export_name = "RENAMED"]
static SECOND: u32 = 42;

#[no_mangle]
extern "C" fn first()
{ }

#[export_name = "renamed"]
extern fn second()
{ }