Files
c3c/test/test_suite/errors/more_optional_tests.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
113 B
Plaintext

module foo;
faultdef ABC;
fn void test()
{
int x = ABC~ ?? 123;
}
fn void test2()
{
int? y = ABC~ ?? ABC~;
}