Skip to content

Commit 58d62fc

Browse files
committed
Don't accidentally detect the commit hash as an fadd instruction
1 parent fa6d1e7 commit 58d62fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/codegen/target-feature-inline-closure.rs

+4
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ unsafe fn without_avx(x: __m256) -> __m256 {
3131
};
3232
add(x, x)
3333
}
34+
35+
// Don't allow the above CHECK-NOT to accidentally match a commit hash in the
36+
// compiler version.
37+
// CHECK-LABEL: rustc version

0 commit comments

Comments
 (0)