mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 05:48:31 +00:00
remove pointless discards in test cases
This commit is contained in:
parent
bec70a1a39
commit
ebd082d3f6
@ -6,7 +6,6 @@ export fn entry() void {
|
||||
}
|
||||
|
||||
fn makeLlamas(count: usize) [count]u8 {
|
||||
_ = count;
|
||||
}
|
||||
|
||||
// error
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
pub fn main() void {
|
||||
var x: usize = 0;
|
||||
_ = x;
|
||||
const z = @TypeOf(x, @as(u128, 5));
|
||||
assert(z == u128);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user