mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Updated cast syntax in code samples.
This commit is contained in:
@@ -8,6 +8,6 @@ union Xu
|
||||
func Xu foo()
|
||||
{
|
||||
Xu a;
|
||||
a.b = cast(123 as void*);
|
||||
a.b = (void*)(123);
|
||||
return a;
|
||||
}
|
||||
Reference in New Issue
Block a user