mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
13 lines
197 B
Rust
13 lines
197 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
struct Empty;
|
|
|
|
// This used to cause an ICE
|
|
#[allow(improper_ctypes_definitions)]
|
|
extern "C" fn ice(_a: Empty) {}
|
|
|
|
fn main() {
|
|
}
|