Debian Codegraph @

debian/rust-vendor/link-section/tests/expand-darwin/link_section.rs

raw
1 use link_section::{section, in_section, TypedSection};
2
3 #[section(typed)]
4 static FOO: TypedSection<fn()>;
5
6 #[in_section(FOO)]
7 fn foo() {
8 println!("foo");
9 }
10
11 fn main() {
12 }