mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
14 lines
236 B
Rust
14 lines
236 B
Rust
//! Regression test for https://github.com/rust-lang/rust/issues/16441
|
|
|
|
//@ 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() {
|
|
}
|