| // 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); | |
| } |