Files
c3c/test/test_suite/statements/nextcase_missing_case.c3
2025-01-08 23:17:50 +01:00

14 lines
146 B
Plaintext

module test;
import std::io;
fn void main()
{
int a;
switch (a)
{
case 1:
nextcase 0; // #error: There is no 'case 0'
default:
}
}