about summary refs log tree commit diff
path: root/tests/crashes/136175.rs
blob: 0b5f2fdaa922f7a240f9aa4a26fb958263a388cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ 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>;
}