blob: 3c9c43e7a41b5efaad3aeeb345337427099718f2 [file]
// 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
#[crubit_annotate::cpp_name("Replaced")]
pub struct Original {
pub x: i32,
}
impl Original {
#[crubit_annotate::cpp_name("create")]
pub fn new() -> Self {
Self { x: 42 }
}
}