We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
foo
1 parent d223ba6 commit 4c779d7Copy full SHA for 4c779d7
tests/ui/mir/auxiliary/static_fnptr.rs
@@ -1,5 +1,6 @@
1
//@ compile-flags:-O
2
3
+#[inline]
4
fn foo() {}
5
6
pub static ADDR: fn() = foo;
0 commit comments