mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
16 lines
168 B
Plaintext
16 lines
168 B
Plaintext
module test;
|
|
import std::io;
|
|
|
|
macro foo() => 3;
|
|
macro bar() => 4;
|
|
bitstruct Foo : int
|
|
{
|
|
int a : 1..2;
|
|
int b : foo()..(bar()) @tag("foo", "a");
|
|
}
|
|
|
|
fn void main()
|
|
{
|
|
|
|
}
|