@@ -1,6 +1,12 @@
|
||||
fn f(noalias x: i32) void { _ = x; }
|
||||
export fn entry() void { f(1234); }
|
||||
|
||||
fn generic(comptime T: type, noalias _: [*]T, noalias _: [*]const T, _: usize) void {}
|
||||
comptime { _ = generic; }
|
||||
|
||||
fn slice(noalias _: []u8) void {}
|
||||
comptime { _ = slice; }
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
|
||||
Reference in New Issue
Block a user