summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-28822.rs
blob: 10e5d1dd0ac157caf207d9a8bd97ab9af6657f5a (plain)
1
2
3
4
5
6
7
// check-pass
#![allow(dead_code)]

fn main() {}

const fn size_ofs(_: usize) {}
const fn size_ofs2(_foo: usize) {}