Skip to content

Commit

Permalink
Don't accidentally detect the commit hash as an fadd instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Oct 10, 2023
1 parent fa6d1e7 commit 58d62fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/codegen/target-feature-inline-closure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ unsafe fn without_avx(x: __m256) -> __m256 {
};
add(x, x)
}

// Don't allow the above CHECK-NOT to accidentally match a commit hash in the
// compiler version.
// CHECK-LABEL: rustc version

0 comments on commit 58d62fc

Please sign in to comment.