Skip to content

Commit f26fabc

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

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

tests/crashes/122587-1.rs

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

0 commit comments

Comments
 (0)