mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
9 lines
106 B
Rust
9 lines
106 B
Rust
//@ run-pass
|
|
|
|
fn foo(_: *const ()) {}
|
|
|
|
fn main() {
|
|
let a = 3;
|
|
foo(&a as *const _ as *const ());
|
|
}
|