]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/lang-item-public.rs
Remove check-fast. Closes #4193, #8844, #6330, #7416
[rust.git] / src / test / run-pass / lang-item-public.rs
1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 // aux-build:lang-item-public.rs
12 // ignore-android
13
14 #[no_std];
15
16 extern crate lang_lib = "lang-item-public";
17
18 #[cfg(target_os = "linux")]
19 #[link(name = "c")]
20 extern {}
21
22 #[cfg(target_os = "android")]
23 #[link(name = "c")]
24 extern {}
25
26 #[cfg(target_os = "freebsd")]
27 #[link(name = "execinfo")]
28 extern {}
29
30 #[cfg(target_os = "macos")]
31 #[link(name = "System")]
32 extern {}
33
34 #[start]
35 fn main(_: int, _: **u8) -> int {
36     1 % 1
37 }