Disable test on bootstrap compiler

This commit is contained in:
Dylan MacKenzie 2021-12-16 22:11:17 -08:00
parent 1606335a93
commit 2049287030

View File

@ -204,6 +204,10 @@ fn cmp_default() {
assert_eq!(Fool(false), Fool(true));
}
#[cfg(not(bootstrap))]
mod const_cmp {
use super::*;
struct S(i32);
impl const PartialEq for S {
@ -231,3 +235,4 @@ const _: () = assert!(S(1) <= S(1));
const _: () = assert!(S(1) >= S(1));
const _: () = assert!(S(0) < S(1));
const _: () = assert!(S(1) > S(0));
}