mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
13 lines
197 B
Plaintext
13 lines
197 B
Plaintext
import std::collections::linkedlist;
|
|
struct Foo
|
|
{
|
|
LinkedList {int} x;
|
|
}
|
|
|
|
fn int main(String[] args)
|
|
{
|
|
Foo f;
|
|
f.x = linkedlist::@new(tmem);
|
|
Foo f1 = { .x = linkedlist::@new(tmem) };
|
|
return 0;
|
|
} |