Merge commit '03f01bbe90
' into update_cg_clif-2020-11-01
This commit is contained in:
parent
793d26047f
commit
285c7c66dc
53 changed files with 609 additions and 385 deletions
|
@ -287,6 +287,8 @@ fn main() {
|
|||
assert_eq!(repeat[0], Some(42));
|
||||
assert_eq!(repeat[1], Some(42));
|
||||
|
||||
from_decimal_string();
|
||||
|
||||
#[cfg(not(jit))]
|
||||
test_tls();
|
||||
|
||||
|
@ -446,3 +448,23 @@ fn check_niche_behavior () {
|
|||
intrinsics::abort();
|
||||
}
|
||||
}
|
||||
|
||||
fn from_decimal_string() {
|
||||
loop {
|
||||
let multiplier = 1;
|
||||
|
||||
take_multiplier_ref(&multiplier);
|
||||
|
||||
if multiplier == 1 {
|
||||
break;
|
||||
}
|
||||
|
||||
unreachable();
|
||||
}
|
||||
}
|
||||
|
||||
fn take_multiplier_ref(_multiplier: &u128) {}
|
||||
|
||||
fn unreachable() -> ! {
|
||||
panic("unreachable")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue