/src/test/run-pass/crate-attributes-src/foo.rs
http://github.com/jruderman/rust · Rust · 8 lines · 5 code · 1 blank · 2 comment · 0 complexity · eb898b67105b9ef6cdc2f445f1ffe3fa MD5 · raw file
- // These are attributes of the foo module
- #[attr1 = "val"];
- #[attr2 = "val"];
- // Attributes of the following function
- #[attr1 = "val"]
- #[attr2 = "val"]
- fn main() { }