about summary refs log tree commit diff
path: root/src/test/codegen/float_math.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-10-10 20:08:22 +0800
committerkennytm <kennytm@gmail.com>2017-10-10 22:44:00 +0800
commitf2efa793f02e737c830256d32be39273f244fd51 (patch)
treea651bb24145942d59d7fe5a4b37e62f2f43337b1 /src/test/codegen/float_math.rs
parent23a99f4e0e47025e949c6a68796afdf3a0d441ad (diff)
parent7d1c14a32d9b09681d8050b30e35c30c7058d8b7 (diff)
downloadrust-f2efa793f02e737c830256d32be39273f244fd51.tar.gz
rust-f2efa793f02e737c830256d32be39273f244fd51.zip
Rollup merge of #45089 - rkruppe:master, r=bluss
Fix typo in codegen test

Without the `:`, the `CHECK-NOT` is ignored by FileCheck, making the line not test anything.
Diffstat (limited to 'src/test/codegen/float_math.rs')
-rw-r--r--src/test/codegen/float_math.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/float_math.rs b/src/test/codegen/float_math.rs
index bc458d45446..6a6d6f90b2e 100644
--- a/src/test/codegen/float_math.rs
+++ b/src/test/codegen/float_math.rs
@@ -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
 }