mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
7 lines
168 B
Rust
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)]) {}
|