Fix foreign export #294

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

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();