rust/tests/ui/consts/issue-28822.rs

8 lines
117 B
Rust

//@ check-pass
#![allow(dead_code)]
fn main() {}
const fn size_ofs(_: usize) {}
const fn size_ofs2(_foo: usize) {}