Files
c3c/test/test_suite/constants/constant_struct.c3
2025-01-08 23:17:50 +01:00

19 lines
126 B
Plaintext

import std::io;
struct Abc
{
int a;
}
struct Bcd
{
Abc x;
}
const Abc FOO = { 2 };
fn void main()
{
Bcd a = { FOO };
}