2012-06-14 17:13:52 -05:00
|
|
|
// xfail-test FIXME I don't know how to test this (#2604)
|
2012-04-13 23:38:15 -05:00
|
|
|
// compile-flags:-L.
|
|
|
|
// The -L flag is also used for linking native libraries
|
|
|
|
|
|
|
|
// FIXME: I want to name a mod that would not link successfully
|
|
|
|
// wouthout providing a -L argument to the compiler, and that
|
|
|
|
// will also be found successfully at runtime.
|
|
|
|
native mod WHATGOESHERE {
|
|
|
|
fn IDONTKNOW() -> u32;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
assert IDONTKNOW() == 0x_BAD_DOOD_u32;
|
|
|
|
}
|