Fix foreign export #294

This commit is contained in:
gingerBill committed 2018-12-08 11:45:08 +00:00
1 parent 4205f0f0b1
commit 13f084a219
2 files changed
+8 -1

No files matched your search

+7 -1
View File
@@ -836,8 +836,14 @@ diverging_procedures :: proc() {
foo();
}
foreign export {
bar :: proc "c" () -> i32 {
return 123;
}
}
main :: proc() {
when true {
when false {
general_stuff();
union_type();
parametric_polymorphism();