rust/tests/crashes/137187.rs
2025-03-08 20:13:07 +01:00

9 lines
167 B
Rust

//@ known-bug: #137187
use std::ops::Add;
trait A where
*const Self: Add,
{
const fn b(c: *const Self) -> <*const Self as Add>::Output {
c + c
}
}