rust/tests/mir-opt/const_prop/reify_fn_ptr.rs

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

8 lines
144 B
Rust
Raw Normal View History

// skip-filecheck
2023-05-01 11:18:41 +00:00
// unit-test: ConstProp
2020-07-27 21:22:43 +02:00
// EMIT_MIR reify_fn_ptr.main.ConstProp.diff
2020-04-04 17:15:01 +00:00
fn main() {
let _ = main as usize as *const fn();
}