Files
c3c/test/test_suite/errors/no_common.c3
Christoffer Lerno cdabe8fd9e - Create optional with ~ instead of ?. return io::EOF?; becomes return io::EOF~.
- Deprecated use of `?` to create optional.
2026-01-20 16:10:28 +01:00

13 lines
126 B
Plaintext

fn int? abc()
{
return 1;
}
macro test()
{
return @catch(abc())~;
}
fn void main()
{
test() ?? 2; // No longer an error!
}