C extern implemented
This commit is contained in:
1
tests/test_extern.expected_results
Normal file
1
tests/test_extern.expected_results
Normal file
@@ -0,0 +1 @@
|
||||
Hello extern!
|
||||
8
tests/test_extern.krak
Normal file
8
tests/test_extern.krak
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
ext fun printf(format_str: *char, actual_str: *char): int
|
||||
|
||||
fun main():int {
|
||||
printf("%s", "Hello extern!\n")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user