2016-01-26 08:06:19 +08:00
|
|
|
export fn add(a: i32, b: i32) -> i32 {
|
2015-12-02 15:53:57 +08:00
|
|
|
a + b
|
2015-11-28 12:24:11 +08:00
|
|
|
}
|
2015-12-04 08:06:04 +08:00
|
|
|
|
2016-01-26 08:06:19 +08:00
|
|
|
export fn hang() -> unreachable {
|
2016-01-25 13:53:00 +08:00
|
|
|
while (true) { }
|
2015-12-04 08:06:04 +08:00
|
|
|
}
|