mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Deprecate :; in $if etc.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
module hello_world;
|
||||
import std;
|
||||
import bar;
|
||||
$if (env::OS_TYPE == OsType.WIN32):
|
||||
$if (env::OS_TYPE == OsType.WIN32)
|
||||
fn int test_doubler(int x)
|
||||
{
|
||||
return x * x;
|
||||
}
|
||||
$else:
|
||||
$else
|
||||
extern fn int test_doubler(int);
|
||||
$endif;
|
||||
$endif
|
||||
extern fn void printf(char *, ...);
|
||||
|
||||
fn int main()
|
||||
|
||||
Reference in New Issue
Block a user