mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Complete transition to fn. Introduce global/threadlocal
This commit is contained in:
committed by
Christoffer Lerno
parent
e2621617f1
commit
b52b42d4da
@@ -7,12 +7,12 @@ macro foo(a, b)
|
||||
return a(b);
|
||||
}
|
||||
|
||||
func int square(int x)
|
||||
fn int square(int x)
|
||||
{
|
||||
return x * x;
|
||||
}
|
||||
|
||||
func int test()
|
||||
fn int test()
|
||||
{
|
||||
int a = 2;
|
||||
int b = 3;
|
||||
|
||||
Reference in New Issue
Block a user