13 lines
90 B
Rust
13 lines
90 B
Rust
|
fn f(x: *int) {
|
||
|
unsafe {
|
||
|
assert *x == 3;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
f(&3);
|
||
|
}
|
||
|
|
||
|
|
||
|
|