mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Ensure type is checked before analysis of compound literals. #919
This commit is contained in:
1
test/test_suite/initialize/init_non_resolved_type.c3
Normal file
1
test/test_suite/initialize/init_non_resolved_type.c3
Normal file
@@ -0,0 +1 @@
|
||||
const IS_ARCH_LITTLE_ENDIAN = (uint)(UIntLE{(uint)1}.val) == 1; // #error: This expression cannot be evaluated at compile time
|
||||
Reference in New Issue
Block a user