Skip to content

Commit 4c779d7

Browse files
committed
Mark foo as explicitly inline.
1 parent d223ba6 commit 4c779d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/mir/auxiliary/static_fnptr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ compile-flags:-O
22

3+
#[inline]
34
fn foo() {}
45

56
pub static ADDR: fn() = foo;

0 commit comments

Comments
 (0)