/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. #[link(name = "test", name)];
  3. fn main() { }