11 lines
276 B
Rust
11 lines
276 B
Rust
|
// error-pattern:aFdEfSeVEE
|
||
|
|
||
|
/* We're testing that link_args are indeed passed when nolink is specified.
|
||
|
So we try to compile with junk link_args and make sure they are visible in
|
||
|
the compiler output. */
|
||
|
|
||
|
#[link_args = "aFdEfSeVEEE"]
|
||
|
#[nolink]
|
||
|
native mod m1 { }
|
||
|
|
||
|
fn main() { }
|