blob: 589085871fba967c9958dd19b2c5d5d01b23f2bd [file] [log] [blame]
const fn foo(a: i32) -> Vec<i32> {
vec![1, 2, 3]
//~^ ERROR allocations are not allowed
//~| ERROR unimplemented expression type
//~| ERROR calls in constant functions
}
fn main() {}