Skip to content

Commit

Permalink
Rollup merge of rust-lang#45089 - rkruppe:master, r=bluss
Browse files Browse the repository at this point in the history
Fix typo in codegen test

Without the `:`, the `CHECK-NOT` is ignored by FileCheck, making the line not test anything.
  • Loading branch information
kennytm committed Oct 10, 2017
2 parents 23a99f4 + 7d1c14a commit f2efa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/codegen/float_math.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::intrinsics::{fadd_fast, fsub_fast, fmul_fast, fdiv_fast, frem_fast};
#[no_mangle]
pub fn add(x: f32, y: f32) -> f32 {
// CHECK: fadd float
// CHECK-NOT fast
// CHECK-NOT: fast
x + y
}

Expand Down

0 comments on commit f2efa79

Please sign in to comment.