-
-
Save fredreichbier/501581 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
| rock_tmp/./vfdp.c: In function 'main': | |
| rock_tmp/./vfdp.c:61:27: warning: unused variable 'a' | |
| rock_tmp/./vfdp.c:63:56: error: 'a' undeclared (first use in this function) | |
| rock_tmp/./vfdp.c:63:56: note: each undeclared identifier is reported only once for each function it appears in | |
| C compiler failed, aborting compilation process | |
| [FAIL] |
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
| lang_Numbers__Int main() { | |
| GC_INIT(); | |
| vfdp_load(); | |
| { | |
| vfdp__Fun __hi_mum1 = ((vfdp__Fun) (1)); | |
| lang_Numbers__Int a = vfdp__Fun_getMoreFun(&(__hi_mum1)); | |
| } | |
| lang_Numbers__LLong_toString((lang_Numbers__LLong) a); | |
| return 0; | |
| } |
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
| Fun: cover from Int { | |
| getMoreFun: func@ -> Int { | |
| this + 2 | |
| } | |
| } | |
| main: func { | |
| a := 1 as Fun getMoreFun() | |
| a toString() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment