Skip to content

Commit 8a6d075

Browse files
committed
Enable float128 test case
This could have been enabled in rust-lang#1830, but it was missed.
1 parent 36af335 commit 8a6d075

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/expectations/tests/float128.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
non_camel_case_types,
55
non_upper_case_globals
66
)]
7+
8+
pub const global: u128 = 1.0;

tests/headers/float128.hpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// FIXME: libclang < 3.9 does not expose `__float128` in its interface, so this
2-
// test will fail. Once we remove support for `--features llvm_stable` and
3-
// require libclang >= 3.9, we can reenable this test.
4-
//
5-
// static __float128 global = 1.0;
1+
static __float128 global = 1.0;
62

73
// FIXME: We have no way to get 128 bit aligned structs in Rust at the moment,
84
// and therefore the generated layout tests for this struct will fail. When we

0 commit comments

Comments
 (0)