rust/tests/run-make/metadata-flag-frobs-symbols/foo.rs

7 lines
112 B
Rust
Raw Normal View History

#![crate_name = "foo"]
#![crate_type = "rlib"]
static FOO: usize = 3;
pub fn foo() -> &'static usize { &FOO }