mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
13 lines
126 B
C
13 lines
126 B
C
fn int! abc()
|
|
{
|
|
return 1;
|
|
}
|
|
macro test()
|
|
{
|
|
return @catch(abc())?;
|
|
}
|
|
|
|
fn void main()
|
|
{
|
|
test() ?? 2; // No longer an error!
|
|
} |