Files
c3c/test/test_suite/enumerations/enum_copy.c3t
Christoffer Lerno acc4a900f5 - New const enum declaration syntax.
- New enum associated value syntax.
2026-02-12 14:43:56 +01:00

20 lines
202 B
Plaintext

module generic_module_enum <N>;
enum Foo : char (String s)
{
BAR {"bar"},
}
module generic_module_enum_test;
import generic_module_enum;
fn void test()
{
Foo{3} foo;
}
fn void main()
{
test();
}