Files
c3c/test/test_suite7/statements/switch_error_range.c3
2025-02-23 13:53:04 +01:00

12 lines
222 B
Plaintext

module foo;
fn void test()
{
int i;
switch (i)
{
case 15..13: // #error: The range is not valid because the first value (15) is greater than the second (13)
i++;
return;
}
}