about summary refs log tree commit diff
path: root/tests/crashes/131762.rs
blob: 85cb9c8f20a8ba35d977738c262f6042eafbbc3a (plain)
1
2
3
4
5
6
7
8
9
//@ known-bug: #131762
// ignore-tidy-linelength

#![feature(generic_assert)]
struct FloatWrapper(f64);

fn main() {
    assert!((0.0 / 0.0 >= 0.0) == (FloatWrapper(0.0 / 0.0) >= FloatWrapper(size_of::<u8>, size_of::<u16>, size_of::<usize> as fn() -> usize)))
}