blob: 15c5c65ff81f33c52e3e26bb6038c73e56248b90 [file] [log] [blame]
// run-pass
// Test several functions can be used for constants
// 1. Vec::new()
// 2. String::new()
#![feature(const_string_new)]
const MY_VEC: Vec<usize> = Vec::new();
const MY_STRING: String = String::new();
fn main() {}