blob: 8f3e0a1892ed6b689ea3a9e81d008052a4d6be51 [file] [log] [blame]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#[repr(C)]
pub union ReprCUnion {
pub a: i32,
pub b: f64,
}
impl Default for ReprCUnion {
fn default() -> Self {
ReprCUnion { a: 0 }
}
}