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