blob: 3c61afd5becd44cd2931970eee13e5566d5e3e11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// run-pass
// aux-build:cci_const.rs
#![allow(non_upper_case_globals)]
extern crate cci_const;
use cci_const::bar;
static foo: extern "C" fn() = bar;
pub fn main() {
assert!(foo == bar);
}
|