rust/tests/crashes/129425.rs

7 lines
168 B
Rust

//@ known-bug: rust-lang/rust#129425
//@compile-flags: --crate-type=lib
#![feature(generic_const_exprs)]
fn foo<'a, T: 'a>(_: [(); std::mem::offset_of!((T,), 0)]) {}