more C header interoperability

This commit is contained in:
Andrew Kelley
2015-12-03 17:06:04 -07:00
parent 96d4d0d674
commit a398afa7cc
5 changed files with 117 additions and 59 deletions

View File

@@ -4,3 +4,7 @@ export library "mathtest";
export fn add(a: i32, b: i32) -> i32 {
a + b
}
export fn hang() -> unreachable {
entry: goto entry;
}