mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update test.
This commit is contained in:
committed by
Christoffer Lerno
parent
eaeafb7299
commit
e68bd0c57f
@@ -2,10 +2,10 @@ module foo { Type };
|
|||||||
|
|
||||||
import std::collections::list;
|
import std::collections::list;
|
||||||
|
|
||||||
struct Foo {
|
struct Foo { // #error: Recursive definition of 'Foo'
|
||||||
Type foo;
|
Type foo;
|
||||||
Allocator allocator;
|
Allocator allocator;
|
||||||
List { Foo } children; // #error: Recursive definition of 'Foo'
|
List { Foo } children;
|
||||||
}
|
}
|
||||||
|
|
||||||
module test;
|
module test;
|
||||||
|
|||||||
Reference in New Issue
Block a user