12 lines
139 B
Rust
12 lines
139 B
Rust
//@ compile-flags:-O
|
|
|
|
#[inline]
|
|
fn foo() {}
|
|
|
|
pub static ADDR: fn() = foo;
|
|
|
|
#[inline(always)]
|
|
pub fn bar(x: fn()) -> bool {
|
|
x == ADDR
|
|
}
|