blob: 27653c9a85d7ed54bafc9858cd0e4fb86d5867f7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#[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;];
}
|