about summary refs log tree commit diff
path: root/tests/ui/abi/extern-c-two-doubles-x86_64-5754.rs
blob: 7f44ef9c685355d7f4ad5b0020e6d5e99e677414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// https://github.com/rust-lang/rust/issues/5754
//@ build-pass
#![allow(dead_code)]
#![allow(improper_ctypes)]

struct TwoDoubles {
    r: f64,
    i: f64
}

extern "C" {
    fn rust_dbg_extern_identity_TwoDoubles(arg1: TwoDoubles) -> TwoDoubles;
}

pub fn main() {}