mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Comparing an uint and int[<4>] was incorrectly assumed to be uint compared to int, causing a crash instead of an error. - When an `int[*][6]` was given too few values, the compiler would assert instead of giving an error.
16 lines
227 B
Plaintext
16 lines
227 B
Plaintext
import std;
|
|
const bool FOO = false;
|
|
struct Foo
|
|
{
|
|
struct
|
|
{
|
|
struct // #error: members exist for this struct after processing
|
|
{
|
|
char d_pad0 @if(FOO);
|
|
}
|
|
}
|
|
}
|
|
fn void main()
|
|
{
|
|
Foo f;
|
|
} |