1 // Copyright 2021 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 chromium::import! { 6 "//build/rust/tests/test_rust_static_library"; 7 } 8 9 use test_rust_static_library::add_two_ints_via_rust; 10 11 #[test] test_call_into_mixed_static_library()12fn test_call_into_mixed_static_library() { 13 assert_eq!(add_two_ints_via_rust(5, 7), 12) 14 } 15