2011-12-16 10:04:11 -06:00
|
|
|
// 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]
|
2012-07-03 18:11:00 -05:00
|
|
|
extern mod m1 { }
|
2011-12-16 10:04:11 -06:00
|
|
|
|
|
|
|
fn main() { }
|