rust/tests/run-pass/issue-33387.rs
2019-02-26 18:37:45 +00:00

10 lines
124 B
Rust

use std::sync::Arc;
trait Foo {}
impl Foo for [u8; 2] {}
fn main() {
let _val: Arc<Foo + Send> = Arc::new([3, 4]);
}