rust/tests/crashes/129425.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
168 B
Rust
Raw Normal View History

2024-08-30 05:38:22 -05:00
//@ 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)]) {}