blob: 1516b05714904b049f8a7fa1996b49a93f11444c [file]
#![feature(generic_const_exprs)]
#![feature(adt_const_params)]
#![allow(incomplete_features)]
#![allow(dead_code)]
#[derive(PartialEq, Eq)]
struct U;
struct S<const N: U>()
where
S<{ U }>:;
//~^ ERROR: overflow evaluating whether `S<{ U }>` is well-formed
fn main() {}