blob: 0b5f2fdaa922f7a240f9aa4a26fb958263a388cf [file] [log] [blame] [edit]
//@ known-bug: #136175
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
trait Trait {}
struct A<T>(T)
where
[(); size_of::<T>()]:;
fn main() {
let x: A<dyn Trait>;
}
OSZAR »