C extern implemented

This commit is contained in:
Nathan Braswell
2016-04-29 01:14:26 -04:00
parent 914fc57c13
commit ecbbcb4eda
6 changed files with 61 additions and 28 deletions

View File

@@ -0,0 +1 @@
Hello extern!

8
tests/test_extern.krak Normal file
View File

@@ -0,0 +1,8 @@
ext fun printf(format_str: *char, actual_str: *char): int
fun main():int {
printf("%s", "Hello extern!\n")
}