blob: 8a320fcdb4d43c4eea523bb45c3d07e6ad0670da [file] [log] [blame]
static C: Result<(), Box<isize>> = Ok(());
// This is because of yet another bad assertion (ICE) about the null side of a nullable enum.
// So we won't actually compile if the bug is present, but we check the value in main anyway.
fn main() {
assert!(C.is_ok());
}