Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cheery@ruttunen:~/axbattler$ cat demo.ax
- include "stdio.h"
- int main(int argc, char** argv)
- {
- printf("hello from axbattler\n")
- return 0
- }
- cheery@ruttunen:~/axbattler$ axcc demo.ax && cat a.c && gcc a.c
- #include <stdio.h> /* lineno: 1 */
- int main(int argc, char** argv); /* lineno: 3 */
- int main(int argc, char** argv)
- {
- printf("hello from axbattler\n");
- return 0;
- }
- cheery@ruttunen:~/axbattler$ ./a.out
- hello from axbattler
- cheery@ruttunen:~/axbattler$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement