mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
13 lines
233 B
C
13 lines
233 B
C
module hello_world;
|
|
import bar;
|
|
|
|
extern fn int test_doubler(int);
|
|
extern fn void printf(char *, ...);
|
|
|
|
fn int main()
|
|
{
|
|
printf("Hello World!\n");
|
|
bar::test();
|
|
printf("Hello double: %d\n", test_doubler(11));
|
|
return 1;
|
|
} |