PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/test/compile-fail/dup-link-name.rs

http://github.com/jruderman/rust
Rust | 5 lines | 2 code | 2 blank | 1 comment | 0 complexity | aed80fd823cdc9bc3c73a26cee6cb12a MD5 | raw file
1// error-pattern:duplicate meta item `name`
2
3#[link(name = "test", name)];
4
5fn main() { }