File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,10 @@ self: $(CFG_RUSTC)
417
417
# Testing
418
418
# #####################################################################
419
419
420
+ # Float doesn't work in boot
421
+
422
+ FLOAT_XFAILS := test/run-pass/float.rs
423
+
420
424
# Temporarily xfail tests broken by the nominal-tags change.
421
425
422
426
NOMINAL_TAG_XFAILS := test/run-pass/mlist.rs
@@ -442,6 +446,7 @@ TASK_XFAILS := test/run-pass/task-comm-8.rs \
442
446
TEST_XFAILS_BOOT := $(TASK_XFAILS ) \
443
447
$(NOMINAL_TAG_XFAILS ) \
444
448
$(CONST_TAG_XFAILS ) \
449
+ $(FLOAT_XFAILS ) \
445
450
test/run-pass/arith-unsigned.rs \
446
451
test/run-pass/box-compare.rs \
447
452
test/run-pass/child-outlives-parent.rs \
Original file line number Diff line number Diff line change
1
+ fn main ( ) {
2
+ auto pi = 3.1415927 ;
3
+
4
+ log ( -pi * ( pi + ( 2.0 /pi) ) - ( pi * 5.0 ) ) ;
5
+ if ( pi == 5.0 || pi < 10.0 || pi <= 2.0 ||
6
+ pi != 22.0 /7.0 || pi >= 10.0 || pi > 1.0 ) {
7
+ log ( "yes" ) ;
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments