Fix foreign export #294
This commit is contained in:
1 parent
4205f0f0b1
commit
13f084a219
2 files changed
+8
-1
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user