Mark foo as explicitly inline.

This commit is contained in:
Camille GILLOT 2024-05-04 19:27:27 +00:00
parent d223ba6233
commit 4c779d75bf

View File

@ -1,5 +1,6 @@
//@ compile-flags:-O
#[inline]
fn foo() {}
pub static ADDR: fn() = foo;