remove pointless discards in test cases

This commit is contained in:
Andrew Kelley
2022-09-13 02:03:26 -07:00
parent bec70a1a39
commit ebd082d3f6
2 changed files with 0 additions and 2 deletions

View File

@@ -6,7 +6,6 @@ export fn entry() void {
}
fn makeLlamas(count: usize) [count]u8 {
_ = count;
}
// error

View File

@@ -1,6 +1,5 @@
pub fn main() void {
var x: usize = 0;
_ = x;
const z = @TypeOf(x, @as(u128, 5));
assert(z == u128);
}