summary refs log tree commit diff
path: root/tests/ui/const-generics/vec-macro-in-static-array.rs
blob: 7a81836e2556b0454cc76bbf046b61a2894498d4 (plain)
1
2
3
4
5
6
7
8
//! Regression test for https://github.com/rust-lang/rust/issues/13446

// Used to cause ICE

static VEC: [u32; 256] = vec![];
//~^ ERROR mismatched types

fn main() {}