]> git.proxmox.com Git - rustc.git/blob - src/test/run-pass/issue-4120.rs
Merge tag 'debian/0.7-0_exp1'
[rustc.git] / src / test / run-pass / issue-4120.rs
1 // xfail-test
2
3 // XFAIL'd due to Valgrind complaining about TLS loss.
4
5 // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
6 // file at the top-level directory of this distribution and at
7 // http://rust-lang.org/COPYRIGHT.
8 //
9 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
10 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
11 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
12 // option. This file may not be copied, modified, or distributed
13 // except according to those terms.
14
15 pub fn main()
16 {
17 unsafe {
18 libc::exit(0);
19 }
20 error!("ack");
21 }