master
1export fn entry() void {
2 const llamas1 = makeLlamas(5);
3 const llamas2 = makeLlamas(5);
4 _ = llamas1;
5 _ = llamas2;
6}
7
8fn makeLlamas(count: usize) [count]u8 {}
9
10// error
11//
12// :8:30: error: unable to resolve comptime value
13// :8:30: note: array length must be comptime-known
14// :2:31: note: generic function instantiated here