summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/vec-macro-with-trailing-comma.rs
blob: f7a51f9c456968052009137d80cbd74f6dbea714 (plain)
1
2
3
4
5
6
7
8
// run-pass



pub fn main() {
    assert_eq!(vec![1], vec![1,]);
    assert_eq!(vec![1, 2, 3], vec![1, 2, 3,]);
}