Files
c3c/test/test_suite/statements/nextcase_missing_case.c3

14 lines
147 B
C

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