Skip to content

Commit

Permalink
feature on test
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Apr 29, 2018
1 parent c122b3a commit 0212e02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/run-pass/vec-const-new.rs
Expand Up @@ -10,6 +10,8 @@

// Test that Vec::new() can be used for constants

#![feature(const_vec_new)]

const MY_VEC: Vec<usize> = Vec::new();

pub fn main() {}

0 comments on commit 0212e02

Please sign in to comment.