mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
189 B
Plaintext
12 lines
189 B
Plaintext
module test;
|
|
|
|
extern fn int! maybe();
|
|
|
|
fn int tester(int n)
|
|
{
|
|
int! num = maybe();
|
|
assert(try num, "Hello"); // #error: An expression was expected
|
|
int x = num;
|
|
return num;
|
|
}
|