mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
13 lines
335 B
Rust
13 lines
335 B
Rust
|
// Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
use msg_socket::*;
|
||
|
|
||
|
#[test]
|
||
|
fn sock_send_recv_unit() {
|
||
|
let (req, res) = pair::<(), ()>().unwrap();
|
||
|
req.send(&()).unwrap();
|
||
|
let _ = res.recv().unwrap();
|
||
|
}
|