mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-29 21:41:47 +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)]) {}
|