rust/tests/ui/macros/assert-eq-macro-unsized.rs

5 lines
81 B
Rust

//@ run-pass
pub fn main() {
assert_eq!([1, 2, 3][..], vec![1, 2, 3][..]);
}