Skip to content

Commit

Permalink
Exclude x86_64-pc-windows-gnu from the float_one test
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Sep 2, 2017
1 parent a9bb599 commit afcc58a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/run-make/extern-fn-struct-passing-abi/test.rs
Expand Up @@ -133,7 +133,11 @@ fn main() {
assert_eq!(sret_byval_struct(1, 2, 3, 4, s), t);
assert_eq!(sret_split_struct(1, 2, s), t);
assert_eq!(float_point(p), p);
assert_eq!(float_one(f1), f1);
assert_eq!(int_odd(i), i);

// mingw64-gcc uses the wrong ABI:
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028
#[cfg(not(all(windows, target_arch = "x86_64", target_env = "gnu")))]
assert_eq!(float_one(f1), f1);
}
}

0 comments on commit afcc58a

Please sign in to comment.