PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1// These are attributes of the foo module
2#[attr1 = "val"];
3#[attr2 = "val"];
4
5// Attributes of the following function
6#[attr1 = "val"]
7#[attr2 = "val"]
8fn main() { }