mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-25 22:00:14 +00:00
11 lines
270 B
Rust
11 lines
270 B
Rust
#[macro_use]
|
|
extern crate generic_array as gen_arr;
|
|
|
|
use gen_arr::typenum;
|
|
|
|
#[test]
|
|
fn test_different_crate_name() {
|
|
let _: gen_arr::GenericArray<u32, typenum::U4> = arr![u32; 0, 1, 2, 3];
|
|
let _: gen_arr::GenericArray<u32, typenum::U0> = arr![u32;];
|
|
}
|