rust/tests/crashes/129425.rs
2024-08-30 12:38:22 +02:00

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)]) {}