dwwoelfel / oneblog-brand-new

0 stars 1 forks source link

123 #267

Open dwwoelfel opened 4 years ago

dwwoelfel commented 4 years ago

Testing

https://www.youtube.com/watch?v=modXC5IWTJI

dwwoelfel commented 4 years ago

Testing123

dwwoelfel commented 4 years ago

Test

dwwoelfel commented 4 years ago

Hello

dwwoelfel commented 4 years ago

World

dwwoelfel commented 4 years ago

Here's some code

var y: i32 = add(10, x);
const x: i32 = add(12, 34);

test "global variables" {
    assert(x == 46);
    assert(y == 56);
}

fn add(a: i32, b: i32) i32 {
    return a + b;
}

const std = @import("std");
const assert = std.debug.assert;