mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
17 lines
191 B
C
17 lines
191 B
C
// #target: macos-x64
|
|
module test;
|
|
import bar;
|
|
|
|
typedef BazTest = Baz<Test>;
|
|
|
|
struct Test // #error: Recursive definition of 'Test'
|
|
{
|
|
BazTest t;
|
|
}
|
|
|
|
module bar<Test>;
|
|
|
|
struct Baz
|
|
{
|
|
Test a;
|
|
} |