mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Disable test on bootstrap compiler
This commit is contained in:
parent
1606335a93
commit
2049287030
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user