Files
lib_compiler/tests/regression_const_assign_decls.txt
2024-04-13 15:29:53 +02:00

10 lines
217 B
Plaintext

// #failed: resolve
PROC :: proc() {}
CONST :: 40;
STRUCT :: struct { a: int; }
// #error: declaration is type, unexpected inside expression
A :: STRUCT;
// #error: expected an untyped constant
C :: PROC;
D :: CONST;