Created
August 21, 2018 07:37
-
-
Save bhelyer/d88d21b6e55da4a6abd70468145e7d7f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module test; | |
| extern (C) fn getValue() i32 { | |
| x := 2; | |
| x++; | |
| return x; | |
| } | |
| fn main() i32 { | |
| return getValue(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment