blob: 45214b467b0f90d7de28b413292006cbba8da453 [file] [log] [blame] [edit]
// 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
use googletest::gtest;
use references::TypeWithReferenceConstructor;
#[gtest]
fn type_with_reference_constructor_argument_is_elided() {
let _ = TypeWithReferenceConstructor::from(&mut 1);
}