mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
95ff642797
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
12 lines
164 B
Rust
12 lines
164 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
|
|
struct Empty;
|
|
|
|
// This used to cause an ICE
|
|
#[allow(improper_ctypes_definitions)]
|
|
extern "C" fn ice(_a: Empty) {}
|
|
|
|
fn main() {
|
|
}
|