Files
c3c/test/test_suite/generic/generic_inference.c3
2025-10-22 23:48:32 +02:00

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;
}