mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
14 lines
146 B
Plaintext
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:
|
|
|
|
}
|
|
} |