Skip to content

Commit a125259

Browse files
committed
Change a fixed crash test to a standard test
Fixes <#122587>
1 parent 1b62868 commit a125259

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

tests/crashes/122587-1.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//@ check-pass
2+
// issue: rust-lang/rust#122587
3+
4+
#![feature(f128)]
5+
#![feature(f16)]
6+
7+
const h: f16 = 0.0f16;
8+
const q: f128 = 0.0f128;
9+
10+
pub fn main() {
11+
let h = 0.0f16;
12+
let q = 0.0f128;
13+
}

0 commit comments

Comments
 (0)