rust/tests/crashes/137187.rs

10 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
}
}